﻿/* simple-calendar.css */
.persian-datepicker {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: Tahoma;
    font-size: 14px;
    width: 200px;
    direction: rtl;
    cursor: pointer;
    background: white;
}

    .persian-datepicker:focus {
        outline: none;
        border-color: #2196F3;
        box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
    }

.calendar-input-wrapper {
    position: relative;
    display: inline-block;
}

.calendar-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    font-size: 18px;
    transition: color 0.2s;
}

    .calendar-icon:hover {
        color: #2196F3;
    }

/* استایل‌های تقویم */
.persian-calendar-popup {
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calendar-day {
    position: relative;
    transition: all 0.2s ease;
}

    .calendar-day.today:after {
        content: '';
        position: absolute;
        bottom: 3px;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 4px;
        background: #1976d2;
        border-radius: 50%;
    }

    .calendar-day:hover:not(.disabled) {
        background: #f0f7ff !important;
        transform: scale(1.05);
        z-index: 1;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
