/* Index page specific styles */

input[type="date"] {
    background: #f8f9fa;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
    max-width: 100%;
}

input[type="date"]:focus {
    background: white;
}

/* Enhanced styles for locked date field */
input[type="date"]:disabled {
    background-color: #f5f5f5 !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.7;
    border-color: #dee2e6;
    pointer-events: none;
}

/* Hide calendar icon when disabled */
input[type="date"]:disabled::-webkit-calendar-picker-indicator {
    display: none !important;
}

input[type="date"]:disabled::-webkit-inner-spin-button {
    display: none !important;
}

input[type="date"]:disabled::-webkit-clear-button {
    display: none !important;
}

/* Visual feedback for locked state */
input[type="date"].locked {
    background-color: #e9ecef !important;
    border: 2px solid #6c757d;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.check-btn {
    width: 100%;
    background-color: #3ebbed;
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.check-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(53, 157, 226, 0.3);
}

.check-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Styles for "Check Another Date" button */
.check-btn.check-another-date {
    background-color: #2c3e50;
    transition: all 0.3s ease;
}

.check-btn.check-another-date:hover {
    background-color: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(44, 62, 80, 0.3);
}

.availability-result {
    margin-top: 25px;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    display: none;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.available {
    background: #15723c 0%;
    color: white;
}

.unavailable {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.availability-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.availability-message {
    font-size: 14px;
    opacity: 0.9;
}

.slots-info {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 600;
}

.error-message {
    margin-top: 20px;
}

.date-help {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 5px;
}



.book-now-btn {
    width: 100%;
    background-color: #3ebbed;
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.book-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.3);
}