﻿.custom-datepicker-wrapper {
    position: relative;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
}

.date-input {
    width: 200px;
    padding: 10px;
    border: 2px solid #333;
    border-radius: 6px;
    cursor: pointer;
    background: linear-gradient(to right, #bde4f7, #f0f4ff);
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease-in-out;
}

    .date-input:hover {
        border-color: #2575fc;
        box-shadow: 0 0 8px rgba(37, 117, 252, 0.4);
    }

/* Calendar container */
.calendar-container {
    display: none;
    position: absolute;
    left: 0;
    background: #fff;
    border: 2px solid #b4adad;
    border-radius: 10px;
    width: 100%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow: hidden;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    background:#ccc;
    color: #fff;
    font-weight: bold;
}

    .calendar-header select {
        padding: 5px 8px;
        border: none;
        border-radius: 4px;
        background: #fff;
        color: #2575fc;
        font-size: 14px;
        font-weight: 500;
        box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }

        .calendar-header select:hover {
            background: #f1f7ff;
        }

/* Calendar grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    border: 1px solid #e0e0e0;
    border-top: none;
}

    .calendar-grid div {
        padding: 12px 0;
        font-size: 14px;
        cursor: pointer;
        position: relative;
        border-right: 1px solid #f0f0f0;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.3s ease-in-out;
        min-height: 38px;
    }

        /* Remove right border for last column */
        .calendar-grid div:nth-child(7n) {
            border-right: none;
        }

    /* Day headers */
    .calendar-grid .day-header {
        background: #f8f8f8;
        font-weight: 600;
        text-transform: uppercase;
        color: #555;
        border-top: none;
    }

    /* Weekend days in red */
    .calendar-grid .weekend {
        color: #e53935;
        font-weight: bold;
    }

    /* Hover effect */
    .calendar-grid .day:hover {
        background: linear-gradient(90deg, #ff6e32, #ff6e32);
        color: #fff;
        transform: scale(1.05);
        border-radius: 6px;
    }

    /* Highlight today */
    .calendar-grid .today {
        background: #f1f7ff;
        border: 2px solid #2575fc;
        border-radius: 8px;
        font-weight: bold;
        color: #2575fc;
        box-shadow: 0 0 8px rgba(37, 117, 252, 0.3);
    }

    /* Disabled dates (future dates for DOB) */
    .calendar-grid .disabled {
        color: #ccc;
        background: #f9f9f9;
        cursor: not-allowed;
    }

    /* Unique weekday colors */
    .calendar-grid .weekday-0 {
        background-color: #fff4f4;
    }
    /* Sunday */
    .calendar-grid .weekday-1 {
        background-color: #f4f8ff;
    }
    /* Monday */
    .calendar-grid .weekday-2 {
        background-color: #f9fff4;
    }
    /* Tuesday */
    .calendar-grid .weekday-3 {
        background-color: #f4f9ff;
    }
    /* Wednesday */
    .calendar-grid .weekday-4 {
        background-color: #fffdf4;
    }
    /* Thursday */
    .calendar-grid .weekday-5 {
        background-color: #f4fffc;
    }
    /* Friday */
    .calendar-grid .weekday-6 {
        background-color: #fff4f8;
    }
/* Saturday */
