body {
    font-family: Arial, sans-serif;
    background-color: #f0f4f8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    color: #333;
}

.container {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

h1 {
    color: #007bff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #007bff;
    font-weight: bold;
}

.desktop-date-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #007bff;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
    box-sizing: border-box;
}

.mobile-date-inputs {
    display: none;
}

.date-select {
    width: 32%;
    padding: 0.75rem;
    border: 2px solid #007bff;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
    margin-right: 2%;
}

.date-select:last-child {
    margin-right: 0;
}

button {
    background-color: #007bff;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

button:hover {
    background-color: #0056b3;
}

.result {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    color: #333;
}

.result p {
    margin: 0.5rem 0;
}

.error {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.flatpickr-calendar {
    font-family: Arial, sans-serif;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .container {
        padding: 1.5rem;
        margin: 1rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .desktop-date-input {
        display: none;
    }

    .mobile-date-inputs {
        display: flex;
        justify-content: space-between;
    }

    .date-select {
        font-size: 0.9rem;
        padding: 0.6rem;
    }

    button {
        font-size: 0.9rem;
        padding: 0.6rem;
    }

    .result {
        font-size: 1rem;
    }
}