/* 
 * الأنماط المخصصة للاستبيان
 * Custom Survey Styles
 */

/* تخصيص لعناصر الاستبيان */
.custom-section-header {
    background: linear-gradient(135deg, #1e7b3a, #2a8c4a);
    position: relative;
    overflow: hidden;
}

.custom-section-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 100% 100%;
}

/* تأثيرات الانتقال */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* تخصيص لصفحة الشكر */
.thank-you-container {
    text-align: center;
    padding: 3rem 1rem;
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.thank-you-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.thank-you-message {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* تخصيص لصفحة النتائج */
.results-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.results-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.results-card-header {
    background: linear-gradient(135deg, #3c6e71, #4a7d80);
    color: white;
    padding: 1rem 1.5rem;
}

.results-card-body {
    padding: 1.5rem;
    background-color: white;
}

.chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 1.5rem;
}

.stat-card {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #777;
    font-size: 1rem;
}

/* تخصيص للطباعة */
@media print {
    header, footer, .no-print {
        display: none !important;
    }
    
    body {
        background-color: white !important;
    }
    
    .container {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .results-card {
        break-inside: avoid;
        box-shadow: none !important;
        margin-bottom: 1rem !important;
    }
    
    .results-card-header {
        background: #f0f0f0 !important;
        color: black !important;
    }
}
