/* Yearly Islamic Calendar - Simple Design */
#yic-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

.yic-loading {
    text-align: center;
    padding: 40px 0;
    color: #666;
    font-size: 16px;
}

/* Yearly Grid - 2 columns */
.yic-year-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Month Card */
.yic-month-card {
    background: linear-gradient(145deg, #1a3a2a, #2a5a3a);
    border-radius: 8px;
    padding: 15px 12px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.yic-month-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

/* Month Header */
.yic-month-header {
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

.yic-month-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.yic-month-hijri {
    font-size: 12px;
    color: #ffffff;
    font-weight: 400;
    margin-top: 2px;
}

/* Calendar Table */
.yic-calendar-table {
    width: 100%;
    border-collapse: collapse;
}

.yic-calendar-table th {
    font-size: 10px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    padding: 4px 0;
    text-align: center;
    letter-spacing: 0.3px;
}

.yic-calendar-table td {
    text-align: center;
    padding: 3px 0;
    border-radius: 4px;
    font-size: 13px;
}

.yic-greg {
    display: block;
    font-weight: 600;
    color: #ffffff;
    font-size: 13px;
}

.yic-hijri {
    display: block;
    font-size: 8px;
    color: #e5e5e5;
    margin-top: 1px;
    font-weight: 400;
}

/* Empty cells */
.yic-empty {
    opacity: 0.3;
}

.yic-empty .yic-greg {
    color: #ccc;
}

/* Today highlight */
.yic-today {
    background: #f5d742 !important;
    border-radius: 4px;
}

.yic-today .yic-greg {
    color: #1a3a2a !important;
    font-weight: 700;
}

.yic-today .yic-hijri {
    color: #1a3a2a !important;
    font-weight: 600;
}

/* Current Year Nav */
.yic-year-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 0 5px;
    flex-wrap: wrap;
    gap: 10px;
}

.yic-year-nav-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a3a2a;
}

.yic-year-nav-btn {
    background: #f0f0f0;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.yic-year-nav-btn:hover {
    background: #1a3a2a;
    color: #fff;
    border-color: #1a3a2a;
}

/* Today Info Bar */
.yic-today-bar {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    border: 1px solid #e8e8e8;
}

.yic-today-bar .label {
    color: #666;
    font-size: 13px;
}

.yic-today-bar .date {
    font-weight: 700;
    color: #1a3a2a;
    font-size: 15px;
}

.yic-today-bar .divider {
    color: #ddd;
}

/* Shortcode Styles */
.yic-shortcode-wrapper {
    max-width: 1200px;
    margin: 20px auto;
}

.yic-shortcode-title {
    text-align: center;
    color: #1a3a2a;
    margin-bottom: 20px;
    font-size: 28px;
}

/* Widget Styles */
.widget_yearly_islamic_calendar_widget #yic-container {
    padding: 0;
}

.widget_yearly_islamic_calendar_widget .yic-year-grid {
    gap: 10px;
}

.widget_yearly_islamic_calendar_widget .yic-month-card {
    padding: 10px 8px;
}

.widget_yearly_islamic_calendar_widget .yic-month-name {
    font-size: 13px;
}

.widget_yearly_islamic_calendar_widget .yic-calendar-table td {
    padding: 2px 0;
    font-size: 11px;
}

.widget_yearly_islamic_calendar_widget .yic-greg {
    font-size: 11px;
}

.widget_yearly_islamic_calendar_widget .yic-hijri {
    font-size: 7px;
}

/* Responsive */
@media (max-width: 768px) {
    .yic-year-grid {
        grid-template-columns: 1fr;
    }
    
    .yic-year-nav-title {
        font-size: 20px;
    }
    
    .yic-month-card {
        padding: 12px 10px;
    }
}

@media (max-width: 480px) {
    .yic-year-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .yic-year-nav {
        flex-direction: column;
        text-align: center;
    }
    
    .yic-year-nav-btn {
        width: 100%;
        padding: 10px;
    }
    
    .yic-today-bar {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .yic-today-bar .divider {
        display: none;
    }
}