/**
 * CSP Sustainability Assessment - Complete Frontend Styles
 * Version: 1.0.0
 * 
 * COMPLETE FILE - All styles for 4-step assessment
 * Fixed icon/emoji sizing throughout
 */

/* ============================================
   BASE & RESET
   ============================================ */

#csp-assessment * {
    box-sizing: border-box;
}

#csp-assessment {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.csp-wrap {
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   STICKY PROGRESS BAR
   ============================================ */

.csp-progress-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.csp-progress-bar.sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    margin: 0;
    border-radius: 0;
    background: #f5f5f5;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: auto;
}

.csp-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    transition: width 0.3s ease;
    border-radius: 4px;
    position: relative;
}

.csp-progress-bar.sticky .csp-progress-fill {
    height: 8px;
}

.csp-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.csp-progress-text {
    display: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.csp-progress-bar.sticky .csp-progress-text {
    display: block;
}

/* ============================================
   CONTAINER & STEPS
   ============================================ */

.csp-container {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.csp-step {
    display: none !important;
    min-height: 300px;
}

.csp-step.active {
    display: block !important;
    animation: fadeIn 0.3s ease;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */

.csp-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #222;
    text-align: center;
    line-height: 1.3;
}

.csp-section-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #222;
    text-align: center;
    line-height: 1.3;
}

/* Control emoji size in section titles */
.csp-section-title .title-icon {
    font-size: 24px !important;
    width: 28px;
    height: 28px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-right: 8px;
    line-height: 1;
}

.csp-intro {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}

/* ============================================
   INFO BOX (Step 1)
   ============================================ */

.csp-info {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #E3F2FD;
    border-radius: 8px;
    border-left: 4px solid #2196F3;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-icon {
    font-size: 24px;
    flex-shrink: 0;
    line-height: 1;
}

.csp-info strong {
    display: block;
    margin-bottom: 8px;
    color: #1565C0;
    font-size: 15px;
}

.csp-info ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.csp-info li {
    margin-bottom: 6px;
    line-height: 1.5;
    font-size: 14px;
    color: #555;
}

/* ============================================
   FORMS & INPUTS
   ============================================ */

.csp-form {
    margin-top: 30px;
}

.csp-field {
    margin-bottom: 20px;
}

.csp-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.req {
    color: #f44336;
    font-weight: 700;
}

.opt {
    color: #999;
    font-weight: normal;
    font-size: 13px;
}

.csp-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.csp-input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76,175,80,0.1);
}

.csp-input:hover {
    border-color: #bbb;
}

.csp-field small {
    display: block;
    margin-top: 5px;
    color: #777;
    font-size: 13px;
    line-height: 1.4;
}

/* ============================================
   BUTTONS
   ============================================ */

.csp-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    text-decoration: none;
    line-height: 1.4;
}

.csp-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.csp-btn.primary {
    background: #4CAF50;
    color: white;
}

.csp-btn.primary:hover:not(:disabled) {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76,175,80,0.3);
}

.csp-btn.secondary {
    background: #e0e0e0;
    color: #333;
}

.csp-btn.secondary:hover:not(:disabled) {
    background: #d0d0d0;
}

.csp-btn.success {
    background: #2196F3;
    color: white;
}

.csp-btn.success:hover:not(:disabled) {
    background: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33,150,243,0.3);
}

.csp-btn.large {
    padding: 15px 40px;
    font-size: 18px;
    width: 100%;
}

/* ============================================
   STEP 2: QUESTIONS
   ============================================ */

.csp-question {
    margin-bottom: 30px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { 
        opacity: 0; 
        transform: translateX(-10px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

.csp-q-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 10px;
}

.csp-q-num {
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.csp-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Theme badge colors */
.theme-general { 
    background: #E3F2FD; 
    color: #1565C0; 
}

.theme-environment { 
    background: #E8F5E9; 
    color: #2E7D32; 
}

.theme-labor-human-rights,
.theme-labor--human-rights,
.theme-labor---human-rights { 
    background: #FFF3E0; 
    color: #E65100; 
}

.theme-ethics { 
    background: #F3E5F5; 
    color: #6A1B9A; 
}

.theme-sustainable-procurement { 
    background: #E0F2F1; 
    color: #00695C; 
}

.csp-q-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.csp-q-text {
    font-size: 20px;
    color: #222;
    margin-bottom: 20px;
    line-height: 1.4;
    font-weight: 500;
}

/* ============================================
   OPTIONS
   ============================================ */

.csp-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.csp-option {
    position: relative;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.csp-option:hover {
    border-color: #4CAF50;
    background: #fafffa;
    transform: translateX(3px);
}

.csp-option.selected {
    border-color: #4CAF50;
    background: #f1f8f4;
    box-shadow: 0 2px 8px rgba(76,175,80,0.15);
}

.csp-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.csp-opt-content {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.csp-opt-key {
    font-weight: 700;
    color: #4CAF50;
    min-width: 20px;
    flex-shrink: 0;
    font-size: 15px;
}

.csp-opt-text {
    flex: 1;
    color: #555;
    line-height: 1.5;
    font-size: 15px;
}

.csp-option.selected .csp-opt-text {
    color: #222;
    font-weight: 500;
}

.csp-opt-check {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #4CAF50;
    opacity: 0;
    transition: opacity 0.2s;
    line-height: 1;
}

.csp-option.selected .csp-opt-check {
    opacity: 1;
}

/* ============================================
   NAVIGATION
   ============================================ */

.csp-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 10px;
}

/* ============================================
   STEP 3: CONTACT INFO & PREVIEW
   ============================================ */

#step-3 .csp-form {
    max-width: 500px;
    margin: 30px auto;
}

.csp-preview-score {
    margin: 30px 0;
    text-align: center;
}

.preview-circle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    color: white;
    box-shadow: 0 8px 20px rgba(76,175,80,0.3);
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from { 
        transform: scale(0.8); 
        opacity: 0; 
    }
    to { 
        transform: scale(1); 
        opacity: 1; 
    }
}

.preview-text {
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.9;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.preview-val {
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
}

.preview-unit {
    font-size: 22px;
    opacity: 0.9;
    margin-top: 2px;
}

/* Consent Checkbox */
.csp-consent {
    margin: 25px 0;
    padding: 18px;
    background: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
}

.consent-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
    user-select: none;
}

.consent-label:hover {
    background: rgba(76,175,80,0.05);
}

.consent-label input[type="checkbox"] {
    margin-top: 3px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.consent-label span {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* Split Action Buttons */
.csp-actions-split {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 12px;
    margin-top: 30px;
}

/* ============================================
   STEP 4: RESULTS - MAIN SCORE DISPLAY
   ============================================ */

.csp-score {
    margin: 40px 0;
    text-align: center;
}

.score-circle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    color: white;
    box-shadow: 0 8px 24px rgba(76,175,80,0.3);
    position: relative;
    overflow: hidden;
}

.score-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

.score-val {
    font-size: 60px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    line-height: 1;
}

.score-unit {
    font-size: 24px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    margin-top: 5px;
}

/* Level-specific colors */
.score-circle.level-beginning {
    background: linear-gradient(135deg, #F44336, #E91E63);
}

.score-circle.level-developing {
    background: linear-gradient(135deg, #FF9800, #FF5722);
}

.score-circle.level-advancing {
    background: linear-gradient(135deg, #FFC107, #FF9800);
}

.score-circle.level-advanced {
    background: linear-gradient(135deg, #8BC34A, #4CAF50);
}

.score-circle.level-leader {
    background: linear-gradient(135deg, #4CAF50, #00BCD4);
}

/* ============================================
   RESULT SUMMARY
   ============================================ */

.csp-result-summary {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e8f5e9);
    border-radius: 12px;
    margin-bottom: 30px;
}

.result-title {
    font-size: 24px;
    margin: 0 0 25px;
    color: #333;
    font-weight: 600;
}

.level-display {
    margin: 25px 0;
}

.level-badge-large {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.level-badge-large.level-beginning {
    background: linear-gradient(135deg, #FFEBEE, #FFCDD2);
    color: #C62828;
}

.level-badge-large.level-developing {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    color: #E65100;
}

.level-badge-large.level-advancing {
    background: linear-gradient(135deg, #FFF9C4, #FFF59D);
    color: #F57F17;
}

.level-badge-large.level-advanced {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    color: #2E7D32;
}

.level-badge-large.level-leader {
    background: linear-gradient(135deg, #E1F5FE, #B3E5FC);
    color: #01579B;
}

.score-detail {
    margin-top: 20px;
}

.score-text {
    font-size: 20px;
    margin: 10px 0 5px;
    color: #222;
}

.score-subtext {
    font-size: 14px;
    color: #777;
    margin: 0;
}

/* ============================================
   EMAIL CONFIRMATION - FIXED ICON SIZE
   ============================================ */

.csp-email-confirmation {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #E8F5E9;
    border-left: 5px solid #4CAF50;
    border-radius: 8px;
    margin-bottom: 30px;
}

.confirm-icon {
    font-size: 24px !important;
    width: 28px !important;
    height: 28px !important;
    flex-shrink: 0;
    line-height: 1;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.confirm-text {
    flex: 1;
}

.confirm-text p {
    margin: 5px 0;
    line-height: 1.5;
}

.confirm-text p:first-child {
    font-size: 18px;
    font-weight: 600;
    color: #2E7D32;
}

.confirm-text strong {
    color: #1B5E20;
}

/* ============================================
   MEETING CTA SECTION - NO EMOJI IN TITLE
   ============================================ */

.csp-meeting-cta {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(102,126,234,0.3);
}

.meeting-title {
    font-size: 24px;
    margin: 0 0 15px;
    color: white;
    font-weight: 700;
}

.csp-meeting-cta > p {
    font-size: 16px;
    margin: 0 0 30px;
    opacity: 0.95;
    line-height: 1.6;
}

/* Meeting Benefits Grid - SMALL ICONS */
.meeting-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
    text-align: left;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.benefit-icon {
    font-size: 16px !important;
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0;
    line-height: 1;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.benefit-item span:last-child {
    font-size: 14px;
    line-height: 1.4;
    flex: 1;
}

/* CTA Button - NO EMOJI */
.csp-btn-cta {
    display: inline-block;
    padding: 18px 50px;
    background: white;
    color: #667eea;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    margin: 20px 0;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.csp-btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    background: #f8f9fa;
    color: #667eea;
    text-decoration: none;
}

.cta-subtext {
    margin: 15px 0 0;
    font-size: 14px;
    opacity: 0.9;
}

/* ============================================
   SIMPLE NEXT STEPS - NO EMOJI IN TITLE
   ============================================ */

.csp-next-simple {
    padding: 30px;
    background: linear-gradient(135deg, #E3F2FD, #E1F5FE);
    border-radius: 10px;
    border-left: 5px solid #2196F3;
    margin-bottom: 30px;
}

.next-title {
    margin: 0 0 15px;
    font-size: 20px;
    color: #1565C0;
    font-weight: 600;
}

.csp-next-simple p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* ============================================
   FINAL ACTIONS - NO EMOJI IN BUTTON
   ============================================ */

.csp-final-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.csp-final-actions .csp-btn {
    min-width: 220px;
}

.btn-new-assessment {
    /* No special styling - just text */
}

/* ============================================
   SPINNER
   ============================================ */

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   ERROR MESSAGES
   ============================================ */

.csp-error {
    padding: 20px;
    background: #ffebee;
    border: 2px solid #f44336;
    border-radius: 8px;
    color: #c62828;
    text-align: center;
    margin: 20px 0;
}

/* ============================================
   ICON SIZE CONTROL (CRITICAL)
   ============================================ */

/* Prevent emoji from inheriting large sizes */
h1, h2, h3, h4, h5, h6 {
    font-variant-emoji: text;
}

/* Title icons - controlled size */
.title-icon {
    font-size: 24px !important;
    width: 28px;
    height: 28px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-right: 8px;
    line-height: 1;
}

/* Safari fix */
@supports (-webkit-appearance: none) {
    .benefit-icon,
    .confirm-icon,
    .title-icon,
    .info-icon {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
}

/* Firefox fix */
@-moz-document url-prefix() {
    .benefit-icon,
    .confirm-icon {
        transform: scale(1);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .csp-container {
        padding: 25px 15px;
    }
    
    .csp-title {
        font-size: 24px;
    }
    
    .csp-section-title {
        font-size: 22px;
    }
    
    .csp-section-title .title-icon {
        font-size: 20px !important;
        width: 24px;
        height: 24px;
    }
    
    .csp-info {
        flex-direction: column;
    }
    
    .info-icon {
        font-size: 20px;
    }
    
    .csp-nav {
        flex-direction: column;
    }
    
    .csp-btn {
        width: 100%;
    }
    
    .csp-actions-split {
        grid-template-columns: 1fr;
    }
    
    .preview-circle,
    .score-circle {
        width: 160px;
        height: 160px;
    }
    
    .preview-val,
    .score-val {
        font-size: 48px;
    }
    
    .preview-unit,
    .score-unit {
        font-size: 20px;
    }
    
    .level-badge-large {
        font-size: 18px;
        padding: 12px 30px;
    }
    
    .confirm-icon {
        font-size: 20px !important;
        width: 24px !important;
        height: 24px !important;
    }
    
    .benefit-icon {
        font-size: 14px !important;
        width: 18px !important;
        height: 18px !important;
    }
    
    .csp-meeting-cta {
        padding: 30px 20px;
    }
    
    .meeting-title {
        font-size: 22px;
    }
    
    .meeting-benefits {
        grid-template-columns: 1fr;
    }
    
    .csp-btn-cta {
        width: 100%;
        padding: 15px 30px;
        font-size: 16px;
    }
    
    .csp-email-confirmation {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .csp-container {
        padding: 20px 12px;
    }
    
    .csp-title {
        font-size: 20px;
    }
    
    .csp-section-title {
        font-size: 20px;
    }
    
    .csp-section-title .title-icon {
        font-size: 18px !important;
        width: 22px;
        height: 22px;
    }
    
    .benefit-icon {
        font-size: 12px !important;
        width: 16px !important;
        height: 16px !important;
    }
    
    .confirm-icon {
        font-size: 18px !important;
        width: 22px !important;
        height: 22px !important;
    }
    
    .info-icon {
        font-size: 18px;
    }
    
    .score-circle,
    .preview-circle {
        width: 140px;
        height: 140px;
    }
    
    .score-val,
    .preview-val {
        font-size: 40px;
    }
    
    .level-badge-large {
        font-size: 16px;
        padding: 10px 25px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .csp-progress-bar,
    .csp-nav,
    .csp-meeting-cta,
    .csp-final-actions,
    .csp-actions-split button,
    noscript {
        display: none !important;
    }
    
    .csp-container {
        box-shadow: none;
        padding: 20px;
    }
    
    .csp-result-summary,
    .csp-email-confirmation {
        page-break-inside: avoid;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.csp-option:focus-within {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

.csp-btn:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

.csp-input:focus-visible {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */

.csp-results.animated .score-circle {
    animation: scaleIn 0.6s ease-out;
}

/* ============================================
   DARK MODE SUPPORT (Optional)
   ============================================ */

@media (prefers-color-scheme: dark) {
    .csp-container {
        background: #1e1e1e;
        color: #e0e0e0;
    }
    
    .csp-title,
    .csp-section-title,
    .csp-q-text {
        color: #f0f0f0;
    }
    
    .csp-intro {
        color: #ccc;
    }
    
    .csp-option {
        background: #2a2a2a;
        border-color: #404040;
    }
    
    .csp-option:hover {
        background: #333;
    }
    
    .csp-opt-text {
        color: #ccc;
    }
    
    .csp-input {
        background: #2a2a2a;
        border-color: #404040;
        color: #e0e0e0;
    }
}
/* ============================================
   SIMPLE BUTTON STYLE
   ============================================ */

.csp-btn-simple {
    display: inline-block;
    padding: 14px 35px;
    background: #f5f5f5;
    color: #333;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    text-decoration: none;
}

.csp-btn-simple:hover {
    background: #fff;
    border-color: #4CAF50;
    color: #4CAF50;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.csp-btn-simple:active {
    transform: translateY(0);
}

/* Final actions container */
.csp-final-actions {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

/* ============================================
   RESPONSIVE - SIMPLE BUTTON
   ============================================ */

@media (max-width: 768px) {
    .csp-btn-simple {
        width: 100%;
        padding: 12px 30px;
        font-size: 15px;
    }
}