
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
    color: white;
    overflow: hidden;
}


.theme-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.ui-elements {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    z-index: 10;
    position: relative;
}


h1, .timer-display span, .controls span, #message {
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
}
h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.timer-display {
    font-size: 80px;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
    margin: 20px 0;
}


.growth-display {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 1;
}
#plant-image {
    max-width: 90%;
    object-fit: contain;
    filter: drop-shadow(0 5px 20px rgba(0, 0, 0, 0.6));
    
    transition: max-height 0.8s ease-out, opacity 0.4s ease-out;
    transform-origin: bottom center;
}





.controls {
    display: flex; justify-content: center; align-items: center; gap: 10px;
}
#minutes-input {
    width: 80px; padding: 10px; font-size: 18px; text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
}
.controls button {
    padding: 10px 20px; font-size: 16px; border: none; border-radius: 8px;
    cursor: pointer; transition: background-color 0.2s; color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
#start-btn { background-color: rgba(0, 123, 255, 0.8); }
#start-btn:hover { background-color: rgba(0, 86, 179, 0.9); }
#reset-btn { background-color: rgba(108, 117, 125, 0.8); }
#reset-btn:hover { background-color: rgba(90, 98, 104, 0.9); }

#message { font-weight: bold; min-height: 24px; font-size: 1.2em; }


.theme-switcher {
    position: absolute; top: 50%; transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%; width: 50px; height: 50px;
    font-size: 24px; font-weight: bold; color: white; cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s, transform 0.2s;
    z-index: 20;
}
.theme-switcher:hover {
    background-color: rgba(0, 0, 0, 0.5);
    transform: translateY(-50%) scale(1.1);
}
#prev-theme-btn { left: 20px; }
#next-theme-btn { right: 20px; }
