@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

.olama-shortcode-weekly-plan-container {
    font-family: 'Outfit', sans-serif;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    color: #1e293b;
}

.olama-plan-header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 30px;
    border-radius: 20px;
    color: #fff;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(30, 41, 59, 0.15);
    text-align: center;
}

.olama-grade-section {
    margin: 0 0 10px 0;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.olama-plan-week-range {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
}

.olama-plan-week-range .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Day Cards Grid */
.olama-days-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.olama-day-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
}

.olama-day-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.olama-day-card.no-plans {
    opacity: 0.7;
}

.olama-day-header {
    background: #f8fafc;
    padding: 15px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.day-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1e293b;
}

.day-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
}

.olama-day-plans {
    padding: 20px;
    flex-grow: 1;
}

.no-content {
    color: #94a3b8;
    font-style: italic;
    font-size: 0.9rem;
    text-align: center;
    margin: 10px 0;
}

.olama-plan-item {
    border-left: 4px solid #e2e8f0;
    background: #fdfdfd;
    padding: 15px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 15px;
}

.olama-plan-item:last-child {
    margin-bottom: 0;
}

.plan-subject {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}

.plan-lesson {
    margin-bottom: 10px;
}

.lesson-num {
    display: inline-block;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 5px;
    color: #475569;
}

.lesson-title {
    font-weight: 600;
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.4;
}

.plan-homework {
    background: #fff;
    border: 1px solid #f1f5f9;
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
}

.homework-icon {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.homework-icon .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #2563eb;
}

.homework-details {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
}

.hw-part {
    margin-bottom: 3px;
}

.hw-part:last-child {
    margin-bottom: 0;
}

.hw-part strong {
    color: #1e293b;
}

/* Error/No Plans messages */
.olama-error,
.olama-no-plans {
    background: #fef2f2;
    color: #991b1b;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #fee2e2;
    text-align: center;
    font-weight: 600;
    margin: 20px 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .olama-days-grid {
        grid-template-columns: 1fr;
    }

    .olama-grade-section {
        font-size: 1.5rem;
    }

    .olama-plan-header {
        padding: 20px;
        border-radius: 15px;
    }
}