body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    transition: background-color 0.3s, color 0.3s;
}

.dark-mode {
    background-color: #232323;
    color: #e0e0e0;
}

button {
    padding: 12px 25px;
    font-size: 18px;
    background-color: #00690577;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, margin-bottom 0.3s ease; /* Add transition */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px; /* Add some default margin */
}

button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.2);
}

button:active {
    transform: translateY(0);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    body {
        padding-bottom: 320px; /* Adjust based on your sidebar's max-height + some extra space */
        justify-content: flex-start; /* Align items to the top */
    }

    input[type="text"] {
        flex-grow: 1;
        padding: 12px;
        font-size: 18px;
        border: 1px solid #ccc;
        border-radius: 8px 0 0 8px; /* Rounded left corners */
        height: 45px;
        padding-bottom: 6px;
    }

}
