
.parsi-calendar-frontend-wrapper {
    direction: rtl;

    padding: 20px 0;
}

.calendar-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 20px;
}
.event-title{
      font-size: 18px !important;
      font-weight: 600;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #008100;
    border-radius: 10px;
    
}
.event-description{
    display:none;
}
.month-info {
    text-align: center;
}

.month-info h2 {
    font-size: 22px !important;
    margin: 0 0 5px 0;
    color: #fff;
    font-weight:600;
}
#gregorianRange{
	color:#fff !important;
}

.month-info p {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0;
}

.nav-btn {
    
    color: #fff;
    border: none;
    background: #e3f2fd00;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s;
}



.today-btn {
    display: block;
    margin: 0 auto 20px;
    background: #125e32;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    font-weight: 600;
}

.today-btn:hover {
    background: #229954;
    transform: translateY(-2px);
}

.calendar-grid {
    background: white;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.weekday {
    text-align: center;
    font-weight: bold;
    padding: 10px;
    background: #ecf0f1;
    border-radius: 8px;
    font-size: 14px;
    color: #2c3e50;
}

.weekday.holiday {
    background: #ffe5e5;
    color: #e74c3c;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.day-cell {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
    position: relative;
    cursor: pointer;
}

.day-cell:hover {
    background: #e3f2fd;
    transform: scale(1.05);
}

.day-cell.selected {
    background: #3498db;
    color: white;
}

.day-cell.selected .persian-day,
.day-cell.selected .gregorian-day {
    color: white;
}

.day-cell.other-month {
    opacity: 0.3;
    cursor: default;
}

.day-cell.other-month:hover {
    background: #f8f9fa;
    transform: none;
}

.day-cell.today {
    background: #125e32;
    border: 2px solid #ffc107;
    color:#fff !important;
}

.day-cell.has-events::after {
    content: '';
    position: absolute;
    bottom: 5px;
    width: 6px;
    height: 6px;
    background: #e74c3c;
    border-radius: 50%;
}

.day-cell.selected.has-events::after {
    background: white;
}

.persian-day {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
}

.gregorian-day {
    font-size: 11px;
    color: #95a5a6;
    margin-top: 2px;
}

/* Events Sidebar */
.events-sidebar {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 20px;
    height: 100%;
    min-height: 500px;
}

.events-header {
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.events-header h3 {
    margin: 0;
    font-size: 20px;
    color: #2c3e50;
}

.events-list {
    max-height: 600px;
    overflow-y: auto;
}

.events-list::-webkit-scrollbar {
    width: 6px;
}

.events-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.events-list::-webkit-scrollbar-thumb {
    background: #bdc3c7;
    border-radius: 10px;
}

.events-list::-webkit-scrollbar-thumb:hover {
    background: #95a5a6;
}

.no-selection,
.no-events,
.loading,
.error {
    text-align: center;
    color: #7f8c8d;
    padding: 40px 20px;
    font-size: 16px;
}

.loading {
    color: #3498db;
}

.error {
    color: #e74 ;
}
@media (max-width: 768px) {
    .parsi-calendar-frontend-wrapper {
        padding: 10px 0;
    }

    .calendar-container {
        padding: 10px;
        border-radius: 8px;
    }

    .calendar-header {
        padding: 10px;
        margin-bottom: 15px;
        flex-wrap: wrap;
    }

    .month-info h2 {
        font-size: 16px !important;
        margin: 0 0 3px 0;
    }

    .month-info p {
        font-size: 11px;
    }

    .nav-btn {
        font-size: 24px;
        padding: 5px;
    }

    .today-btn {
        padding: 8px 20px;
        font-size: 12px;
        margin-bottom: 15px;
    }

    .weekdays {
        gap: 3px;
        margin-bottom: 8px;
    }

    .weekday {
        padding: 6px 2px;
        font-size: 11px;
        border-radius: 5px;
    }

    .days-grid {
        gap: 3px;
    }

    .day-cell {
        border-radius: 5px;
        padding: 2px;
    }

    .persian-day {
        font-size: 13px;
    }

    .gregorian-day {
        font-size: 9px;
        margin-top: 1px;
    }

    .day-cell.has-events::after {
        width: 4px;
        height: 4px;
        bottom: 3px;
    }

    .day-cell.today {
        border-width: 1px;
    }

    .events-sidebar {
        padding: 15px;
        min-height: 300px;
        margin-top: 15px;
    }

    .events-header h3 {
        font-size: 16px;
    }

    .event-title {
        font-size: 15px !important;
    }

    .events-list {
        max-height: 400px;
    }

    .no-selection,
    .no-events,
    .loading,
    .error {
        padding: 30px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .calendar-container {
        padding: 8px;
    }

    .calendar-header {
        padding: 8px;
    }

    .month-info h2 {
        font-size: 14px !important;
    }

    .month-info p {
        font-size: 10px;
    }

    .nav-btn {
        font-size: 20px;
    }

    .today-btn {
        padding: 6px 15px;
        font-size: 11px;
    }

    .weekday {
        padding: 5px 1px;
        font-size: 10px;
    }

    .persian-day {
        font-size: 12px;
    }

    .gregorian-day {
        font-size: 8px;
    }

    .events-sidebar {
        padding: 10px;
    }

    .events-header h3 {
        font-size: 14px;
    }

    .event-title {
        font-size: 13px !important;
    }
}