﻿@import url('https://fonts.googleapis.com/css2?family=Vazirmatn&display=swap');

.input-container {
    position: relative;
    z-index: 9999;
    font-family: Vazirmatn, sans-serif;
}

.date-input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 200px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    background-color: white;
    font-family: Vazirmatn, sans-serif;
}

.calendar {
    display: none;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    max-width: 300px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 50px;
    right: 0;
    z-index: 10000;
    font-family: Vazirmatn, sans-serif;
}
    .calendar.centered {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .calendar.active {
        display: block;
    }

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-bottom: 10px;
    background-color: #004b6b;
    color: white;
    border-radius: 5px;
    padding: 10px;
}

    .calendar-header button {
        border: none;
        background: #fff;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        cursor: pointer;
        color: #004b6b;
        border: 1px solid #004b6b;
        font-weight: bold;
        font-family: Vazirmatn, sans-serif;
    }

        .calendar-header button:hover {
            background-color: #e0f1f8;
        }

.month-year {
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    font-family: Vazirmatn, sans-serif;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 5px;
    color: #004b6b;
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.day {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    background-color: #f7f7f7;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    font-family: Vazirmatn, sans-serif;
}

    .day:hover {
        background-color: #e0e0e0;
    }

    .day.today {
        background-color: #b3e0f7;
        font-weight: bold;
        color: #004b6b;
    }

    .day.other-month {
        color: #aaa;
        background-color: #f0f0f0;
    }

    .day.holiday {
        color: #004b6b;
        background-color: #e0f1f8;
    }

    .day.selected {
        background-color: #004b6b;
        color: white;
    }