.elementor-221 .elementor-element.elementor-element-295e3c3a{--display:flex;--min-height:92px;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-221 .elementor-element.elementor-element-2ade097d{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-221 .elementor-element.elementor-element-30aea0b{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-221 .elementor-element.elementor-element-6f9ae598{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}body.elementor-page-221{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}/* Start custom CSS *//* این کد رو در Appearance > Customize > Additional CSS قرار بدید */

/* استایل‌های صفحه وضعیت تحصیلی */
.school-grades-page {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: 'Vazirmatn', sans-serif;
}

.school-grades-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.school-grades-page .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subsection-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: white;
}

/* خلاصه عملکرد */
.performance-summary {
    margin-bottom: 3rem;
}

.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.summary-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.summary-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.summary-content h3 {
    margin: 0 0 0.5rem 0;
    color: #64748b;
    font-size: 1rem;
    font-weight: 600;
}

.summary-value {
    font-size: 2rem;
    font-weight: 700;
    color: #2e3642;
    margin-bottom: 0.5rem;
}

.summary-value.excellent {
    color: #059669;
}

.summary-change {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.summary-change.positive {
    color: #059669;
}

.summary-change.negative {
    color: #dc2626;
}

.summary-change.neutral {
    color: #6b7280;
}

/* انتخاب ترم */
.semester-body.elementor-page-221 {
    margin-bottom: 2rem;
}

.semester-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.semester-tab {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.semester-tab:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.semester-tab.active {
    background: white;
    color: #2563eb;
    border-color: white;
}

/* کارنامه */
.report-card-section {
    margin-bottom: 3rem;
}

.report-card-header {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
}

.report-card-header h3 {
    margin: 0;
    color: #2e3642;
    font-size: 1.3rem;
}

.report-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    padding: 0.7rem 1.5rem;
    border: 2px solid #2563eb;
    background: white;
    color: #2563eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

/* جدول نمرات */
.table-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    overflow-x: auto;
}

.grades-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.grades-table th,
.grades-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.grades-table th {
    background: #2563eb;
    color: white;
    font-weight: 600;
    position: sticky;
    top: 0;
}

.grades-table tr:hover {
    background: #f8fafc;
}

.grades-table tbody tr:last-child {
    border-bottom: 2px solid #2563eb;
}

.summary-row {
    background: #f0f9ff !important;
    font-weight: 700;
}

.summary-row td {
    color: #2563eb;
    font-size: 1.1rem;
}

/* وضعیت‌ها */
.status-badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.success {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.warning {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.danger {
    background: #fee2e2;
    color: #991b1b;
}

/* نمودار نمرات */
.grade-chart {
    width: 80px;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto;
}

.chart-bar {
    height: 100%;
    background: linear-gradient(90deg, #06d6a0, #05b888);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* نمودار پیشرفت */
.progress-chart-section {
    margin-bottom: 3rem;
}

.chart-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.chart-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.chart-card h4 {
    margin: 0 0 1.5rem 0;
    color: #2e3642;
    text-align: center;
    font-size: 1.2rem;
}

.chart-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.subject-name {
    width: 80px;
    color: #64748b;
    font-size: 0.9rem;
    text-align: left;
}

.bar-container {
    flex: 1;
    height: 20px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.bar {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    border-radius: 10px;
    transition: width 0.3s ease;
    position: relative;
}

.bar::after {
    content: attr(data-value);
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
}

.grade-value {
    width: 40px;
    text-align: left;
    font-weight: 600;
    color: #2e3642;
}

/* نمودار روند */
.trend-chart {
    height: 200px;
    background: linear-gradient(to top, #f8fafc, #e2e8f0);
    border-radius: 10px;
    position: relative;
    margin-top: 2rem;
}

.trend-points {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding: 0 1rem;
}

.trend-point {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.point-value {
    position: absolute;
    top: -25px;
    background: #2563eb;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.point {
    width: 12px;
    height: 12px;
    background: #2563eb;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.point-label {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

/* تحلیل و توصیه‌ها */
.analysis-section {
    margin-bottom: 3rem;
}

.analysis-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.analysis-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.analysis-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.analysis-icon {
    font-size: 1.5rem;
    color: #2563eb;
}

.analysis-header h4 {
    margin: 0;
    color: #2e3642;
    font-size: 1.2rem;
}

.analysis-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.analysis-list li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-right: 1.5rem;
}

.analysis-list li::before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    right: 0;
}

/* کارنامه‌های قبلی */
.previous-reports {
    margin-bottom: 2rem;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.report-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.report-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.report-header h4 {
    margin: 0;
    color: #2e3642;
    font-size: 1.1rem;
}

.report-date {
    color: #64748b;
    font-size: 0.9rem;
}

.report-info {
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
    color: #64748b;
}

.grade {
    font-weight: 600;
    color: #2e3642;
}

.rank {
    font-weight: 600;
    color: #2563eb;
}

.view-report-btn {
    width: 100%;
    padding: 0.7rem;
    background: #e2e8f0;
    color: #475569;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.view-report-btn:hover {
    background: #cbd5e1;
    transform: translateY(-1px);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .school-grades-page {
        padding: 2rem 0;
    }
    
    .summary-cards {
        grid-template-columns: 1fr;
    }
    
    .summary-card {
        padding: 1.5rem;
    }
    
    .chart-container {
        grid-template-columns: 1fr;
    }
    
    .analysis-cards {
        grid-template-columns: 1fr;
    }
    
    .reports-grid {
        grid-template-columns: 1fr;
    }
    
    .report-card-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .report-actions {
        justify-content: center;
    }
    
    .table-container {
        padding: 1rem;
    }
    
    .grades-table {
        font-size: 0.9rem;
    }
    
    .grades-table th,
    .grades-table td {
        padding: 0.7rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .school-grades-page .section-title {
        font-size: 2rem;
    }
    
    .subsection-title {
        font-size: 1.5rem;
    }
    
    .summary-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .semester-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .semester-tab {
        width: 200px;
    }
    
    .action-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .chart-item {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .bar-container {
        width: 100%;
    }
}/* End custom CSS */