/**
 * Career Test Frontend Styles
 * 
 * @package PupilCity\TestPlugin\Modules\CareerTest
 * @since 1.0.0
 */

/* Reset and Base Styles */
.pct-career-test * {
    box-sizing: border-box;
}

.pct-career-test {
    max-width: 900px !important;
    margin: 1.5rem auto !important;
    padding: 1.5rem !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    line-height: 1.6 !important;
}

/* Test Header */
.pct-test-header {
    text-align: center !important;
    margin-bottom: 3rem !important;
    padding-bottom: 2rem !important;
    border-bottom: 2px solid #f1f3f4 !important;
}

.pct-test-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    margin: 0 0 1rem 0 !important;
    line-height: 1.2 !important;
}

.pct-test-description {
    font-size: 1.2rem !important;
    color: #4a5568 !important;
    line-height: 1.6 !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

.pct-test-description p {
    margin: 0 !important;
    padding: 0 !important;
}

/* Progress Bar */
.pct-progress-container {
    margin-bottom: 1.5rem !important;
    padding: 0 !important;
}

.pct-progress-bar {
    width: 100% !important;
    height: 6px !important;
    background-color: rgba(42, 165, 220, 0.2) !important;
    border-radius: 3px !important;
    overflow: hidden !important;
    margin-bottom: 0.5rem !important;
    position: relative !important;
}

.pct-progress-fill {
    height: 100% !important;
    background: #2aa5dc !important;
    transition: width 0.4s ease !important;
    border-radius: 3px !important;
}

.pct-progress-text {
    text-align: center !important;
    color: #666 !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
}

/* Test Start Screen */
.pct-test-start {
    text-align: center !important;
    padding: 3rem 2rem !important;
    background: #f8f9fa !important;
    border: 2px solid #e9ecef !important;
    border-radius: 12px !important;
    color: #495057 !important;
}

.pct-start-content {
    max-width: 600px !important;
    margin: 0 auto !important;
}

.pct-start-icon {
    font-size: 3rem !important;
    margin-bottom: 1rem !important;
    display: block !important;
}

.pct-start-content h3 {
    font-size: 1.8rem !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    margin: 0 0 1rem 0 !important;
    line-height: 1.3 !important;
}

.pct-start-content p {
    font-size: 1rem !important;
    color: #6c757d !important;
    margin: 0 0 2rem 0 !important;
    line-height: 1.5 !important;
}

/* Buttons */
.pct-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 1rem 2rem !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    min-height: 50px !important;
    position: relative !important;
    overflow: hidden !important;
}

.pct-btn-primary {
    background: #2aa5dc !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(42, 165, 220, 0.3) !important;
}

.pct-btn-primary:hover {
    background: #e7443a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(231, 68, 58, 0.4) !important;
}

.pct-btn-secondary {
    background: #718096 !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(113, 128, 150, 0.3) !important;
}

.pct-btn-secondary:hover {
    background: #4a5568 !important;
    transform: translateY(-2px) !important;
}

/* Step Header - Ultra Minimal Design */
.pct-step-header {
    text-align: center !important;
    margin-bottom: 2rem !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    position: relative !important;
}

.pct-step-title {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #2aa5dc !important;
    margin: 0 0 0.5rem 0 !important;
    line-height: 1.4 !important;
    position: relative !important;
    display: inline-block !important;
}

.pct-step-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: -8px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 40px !important;
    height: 2px !important;
    background: #e7443a !important;
    border-radius: 1px !important;
}

/* Question Container - Ultra Minimal & Mobile-First */
.pct-question-container {
    background: #ffffff !important;
    border: 1px solid rgba(42, 165, 220, 0.15) !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.pct-question-container:hover {
    border-color: rgba(42, 165, 220, 0.3) !important;
    box-shadow: 0 2px 8px rgba(42, 165, 220, 0.08) !important;
}

.pct-question-title {
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    color: #333 !important;
    margin: 0 0 1.5rem 0 !important;
    text-align: left !important;
    line-height: 1.5 !important;
    padding: 0 !important;
    background: none !important;
    border-radius: 0 !important;
    position: relative !important;
    padding-left: 2.5rem !important;
}

.pct-question-number {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #2aa5dc !important;
    color: white !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

/* Answer Grid - Mobile-First Design */
.pct-answers-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    margin-top: 1rem !important;
}

.pct-answer-option {
    position: relative !important;
}

.pct-answer-input {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
}

.pct-answer-label {
    display: flex !important;
    align-items: center !important;
    padding: 1rem !important;
    background: #f8f9fa !important;
    border: 1px solid rgba(42, 165, 220, 0.15) !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-align: left !important;
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    color: #555 !important;
    line-height: 1.4 !important;
    min-height: 48px !important;
    position: relative !important;
    overflow: hidden !important;
}

.pct-answer-label:hover {
    border-color: #2aa5dc !important;
    background: rgba(42, 165, 220, 0.05) !important;
    transform: none !important;
    box-shadow: none !important;
}

.pct-answer-input:checked + .pct-answer-label {
    border-color: #2aa5dc !important;
    background: #2aa5dc !important;
    color: white !important;
    transform: none !important;
    box-shadow: none !important;
}

.pct-answer-input:checked + .pct-answer-label::before {
    content: "✓" !important;
    position: absolute !important;
    top: 50% !important;
    right: 1rem !important;
    transform: translateY(-50%) !important;
    width: 16px !important;
    height: 16px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    color: #2aa5dc !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

/* Navigation */
.pct-navigation {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 3rem !important;
    padding-top: 2rem !important;
    border-top: 2px solid #f1f3f4 !important;
}

/* Processing Message */
.pct-processing-message {
    text-align: center !important;
    font-size: 1.2rem !important;
    color: #4a5568 !important;
    font-weight: 600 !important;
    padding: 2rem !important;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%) !important;
    border-radius: 8px !important;
    border: 2px solid #e2e8f0 !important;
    animation: pulse 2s infinite !important;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Result Step Info */
/* Result Step Info - ALFA Mode Efsane Design */
.pct-result-step-info {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 1rem 1.25rem !important;
    background: rgba(231, 68, 58, 0.08) !important;
    border: 1px solid rgba(231, 68, 58, 0.2) !important;
    border-radius: 6px !important;
    border-left: 3px solid #e7443a !important;
    color: #333 !important;
    margin: 1rem 0 !important;
}

.pct-result-step-info::before {
    content: "✓" !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    background: #e7443a !important;
    color: white !important;
    border-radius: 50% !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    flex-shrink: 0 !important;
}

.pct-result-step-info p {
    margin: 0 !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    color: #555 !important;
}

/* Loading and Error States */
.pct-loading-screen,
.pct-error-screen {
    text-align: center !important;
    padding: 4rem 2rem !important;
}

.pct-loading-spinner-large {
    font-size: 4rem !important;
    margin-bottom: 1.5rem !important;
    animation: spin 1s linear infinite !important;
    display: block !important;
}

.pct-error-icon {
    font-size: 4rem !important;
    margin-bottom: 1.5rem !important;
    display: block !important;
}

.pct-error-content h3 {
    color: #e53e3e !important;
    font-size: 1.5rem !important;
    margin: 0 0 1rem 0 !important;
}

.pct-error-message {
    color: #4a5568 !important;
    font-size: 1.1rem !important;
    margin: 0 0 2rem 0 !important;
}

/* Result Screen - ALFA Mode Minimal */
.pct-test-result {
    text-align: left !important;
    padding: 2rem !important;
    border: 1px solid rgba(42, 165, 220, 0.15) !important;
    border-radius: 8px !important;
    color: #333 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

/* pct-result-icon removed - not needed in ALFA mode */

.pct-result-title {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #2aa5dc !important;
    margin: 0 0 1.5rem 0 !important;
    padding: 1rem 1.5rem !important;
    background: linear-gradient(135deg, rgba(42, 165, 220, 0.1) 0%, rgba(42, 165, 220, 0.05) 100%) !important;
    border-radius: 8px !important;
    border-left: 4px solid #2aa5dc !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.pct-result-title::before {
    content: "🏆" !important;
    font-size: 1.5rem !important;
    background: #2aa5dc !important;
    color: white !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.pct-result-title::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 25px solid transparent !important;
    border-top: 25px solid rgba(42, 165, 220, 0.1) !important;
}

.pct-result-description {
    font-size: 1rem !important;
    color: #555 !important;
    margin: 0 0 1.5rem 0 !important;
    line-height: 1.5 !important;
}

.pct-result-description h3 {
    font-size: 1.2rem !important;
    margin-bottom: 0.75rem !important;
    color: #333 !important;
    text-align: left !important;
    font-weight: 600 !important;
}

.pct-function-name {
    display: inline-block !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    margin-bottom: 0.25rem !important;
    color: #666 !important;
    background: rgba(42, 165, 220, 0.1) !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 4px !important;
    margin-right: 0.5rem !important;
}

.pct-function-value {
    display: inline-block !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #e7443a !important;
    background: rgba(231, 68, 58, 0.1) !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 4px !important;
}

/* Report Content Section - ALFA Mode Visual & Iconic */
.pct-report-content-section {
    margin: 1.5rem 0 !important;
    text-align: left !important;
    background: #ffffff !important;
    padding: 0 !important;
    border-radius: 8px !important;
    border: 1px solid rgba(42, 165, 220, 0.15) !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.pct-report-content-section h3 {
    font-size: 1.1rem !important;
    margin: 0 !important;
    color: #ffffff !important;
    text-align: left !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    background: linear-gradient(135deg, #2aa5dc 0%, #1e8bb8 100%) !important;
    padding: 1rem 1.5rem !important;
    position: relative !important;
}

.pct-report-content-section h3::before {
    content: "🎯" !important;
    font-size: 1.2rem !important;
    background: rgba(255, 255, 255, 0.2) !important;
    padding: 0.25rem !important;
    border-radius: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
}

/* Specific Section Icons - Career Test Focused */
.pct-report-content-section h3::before {
    content: "🎯" !important;
}

/* Dynamic icons based on content keywords */
.pct-report-content-section:has(h3:contains("Kişilik")) h3::before,
.pct-report-content-section:has(h3:contains("Personality")) h3::before {
    content: "🧠" !important;
}

.pct-report-content-section:has(h3:contains("Kariyer")) h3::before,
.pct-report-content-section:has(h3:contains("Career")) h3::before,
.pct-report-content-section:has(h3:contains("Meslek")) h3::before {
    content: "💼" !important;
}

.pct-report-content-section:has(h3:contains("Güçlü")) h3::before,
.pct-report-content-section:has(h3:contains("Strength")) h3::before,
.pct-report-content-section:has(h3:contains("Avantaj")) h3::before {
    content: "💪" !important;
}

.pct-report-content-section:has(h3:contains("Gelişim")) h3::before,
.pct-report-content-section:has(h3:contains("Development")) h3::before,
.pct-report-content-section:has(h3:contains("İyileştir")) h3::before {
    content: "📈" !important;
}

.pct-report-content-section:has(h3:contains("Öneri")) h3::before,
.pct-report-content-section:has(h3:contains("Recommendation")) h3::before,
.pct-report-content-section:has(h3:contains("Tavsiye")) h3::before {
    content: "💡" !important;
}

.pct-report-content-section:has(h3:contains("Özet")) h3::before,
.pct-report-content-section:has(h3:contains("Summary")) h3::before,
.pct-report-content-section:has(h3:contains("Sonuç")) h3::before {
    content: "📋" !important;
}

.pct-report-content-section:has(h3:contains("MBTI")) h3::before,
.pct-report-content-section:has(h3:contains("Tip")) h3::before {
    content: "🏷️" !important;
}

.pct-report-content-section:has(h3:contains("Eğitim")) h3::before,
.pct-report-content-section:has(h3:contains("Education")) h3::before {
    content: "🎓" !important;
}

.pct-report-content-section:has(h3:contains("İletişim")) h3::before,
.pct-report-content-section:has(h3:contains("Communication")) h3::before {
    content: "💬" !important;
}

.pct-report-content-section h3::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 20px solid transparent !important;
    border-top: 20px solid rgba(255, 255, 255, 0.1) !important;
}

.pct-report-content {
    line-height: 1.6 !important;
    font-size: 0.95rem !important;
    color: #555 !important;
    padding: 1.5rem !important;
}

.pct-report-content p {
    margin-bottom: 1rem !important;
    position: relative !important;
    padding-left: 1.5rem !important;
}

.pct-report-content p::before {
    content: "▶" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    color: #e7443a !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
}

.pct-report-content ul, .pct-report-content ol {
    margin: 1rem 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
}

.pct-report-content li {
    margin-bottom: 0.5rem !important;
    color: #666 !important;
    position: relative !important;
    padding-left: 2rem !important;
    padding: 0.5rem 0 0.5rem 2rem !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
}

.pct-report-content li::before {
    content: "✓" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: #e7443a !important;
    color: white !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
}

.pct-report-content li:hover {
    background: rgba(42, 165, 220, 0.05) !important;
    padding-left: 2.25rem !important;
}

.pct-report-content strong {
    color: #e7443a !important;
    font-weight: 600 !important;
    background: rgba(231, 68, 58, 0.1) !important;
    padding: 0.125rem 0.25rem !important;
    border-radius: 3px !important;
}

/* Section Separators */
.pct-report-content-section + .pct-report-content-section {
    margin-top: 2rem !important;
    position: relative !important;
}

.pct-report-content-section + .pct-report-content-section::before {
    content: '' !important;
    position: absolute !important;
    top: -1rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 60px !important;
    height: 2px !important;
    background: linear-gradient(90deg, transparent 0%, #2aa5dc 50%, transparent 100%) !important;
}

/* Result Actions - ALFA Mode PDF & Email Buttons */
.pct-result-actions {
    margin-top: 2rem !important;
    text-align: center !important;
    padding: 2rem 1.5rem 1.5rem 1.5rem !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border-radius: 8px !important;
    border: 1px solid rgba(42, 165, 220, 0.1) !important;
    display: flex !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    position: relative !important;
}

.pct-result-actions::before {
    content: "📄 PDF İndir" !important;
    position: absolute !important;
    top: -12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #ffffff !important;
    color: #2aa5dc !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    border: 1px solid rgba(42, 165, 220, 0.2) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.pct-result-actions .pct-btn {
    flex: 1 !important;
    min-width: 160px !important;
    max-width: 220px !important;
    font-size: 0.9rem !important;
    padding: 1rem 1.5rem !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
}

.pct-btn-pdf {
    background: linear-gradient(135deg, #e7443a 0%, #d63c33 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(231, 68, 58, 0.3) !important;
}

.pct-btn-pdf::before {
    content: "📄" !important;
    font-size: 1.1rem !important;
}

.pct-btn-pdf:hover {
    background: linear-gradient(135deg, #d63c33 0%, #c23529 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(231, 68, 58, 0.4) !important;
}

.pct-btn-email {
    background: linear-gradient(135deg, #2aa5dc 0%, #1e8bb8 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(42, 165, 220, 0.3) !important;
}

.pct-btn-email::before {
    content: "📧" !important;
    font-size: 1.1rem !important;
}

.pct-btn-email:hover {
    background: linear-gradient(135deg, #1e8bb8 0%, #1a7ba3 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(42, 165, 220, 0.4) !important;
}

.pct-btn-pdf::after,
.pct-btn-email::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%) !important;
    transition: left 0.5s ease !important;
}

.pct-btn-pdf:hover::after,
.pct-btn-email:hover::after {
    left: 100% !important;
}

/* Validation Error - Ultra Minimal */
.pct-validation-error {
    background: rgba(231, 68, 58, 0.05) !important;
    border: 1px solid rgba(231, 68, 58, 0.2) !important;
    border-radius: 6px !important;
    padding: 1rem 1.5rem !important;
    margin: 1rem 0 !important;
    text-align: left !important;
    animation: shake 0.3s ease-in-out !important;
    border-left: 3px solid #e7443a !important;
}

.pct-validation-icon {
    font-size: 1.2rem !important;
    margin-right: 0.5rem !important;
    display: inline !important;
    color: #e7443a !important;
}

.pct-validation-error p {
    font-size: 0.9rem !important;
    color: #e7443a !important;
    font-weight: 500 !important;
    margin: 0 !important;
    display: inline !important;
}

.pct-validation-error .pct-btn {
    background: #e7443a !important;
    color: white !important;
    font-size: 0.85rem !important;
    padding: 0.5rem 1rem !important;
    margin-top: 0.75rem !important;
}

.pct-validation-error .pct-btn:hover {
    background: #d63c33 !important;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Question Error Highlight - Minimal */
.pct-question-error {
    border: 1px solid #e7443a !important;
    background: rgba(231, 68, 58, 0.03) !important;
    animation: pulse-error 1.5s ease-in-out 2 !important;
}

.pct-question-error .pct-question-title {
    background: rgba(231, 68, 58, 0.05) !important;
    border-left: 3px solid #e7443a !important;
    color: #e7443a !important;
}

@keyframes pulse-error {
    0%, 100% { 
        border-color: #e7443a;
        box-shadow: 0 0 0 0 rgba(231, 68, 58, 0.2);
    }
    50% { 
        border-color: #e7443a;
        box-shadow: 0 0 0 4px rgba(231, 68, 58, 0);
    }
}

/* ========================================
   MODULAR V2 STYLES
   ======================================== */

/* Modular Container */
.pct-modular-v2 {
    position: relative !important;
}

.pct-modular-v2 .pct-test-meta {
    display: flex !important;
    justify-content: center !important;
    gap: 1rem !important;
    margin-top: 1rem !important;
    font-size: 0.9rem !important;
    opacity: 0.8 !important;
}

/* Enhanced Progress */
.pct-modular-v2 .pct-progress-wrapper {
    position: relative !important;
}

.pct-modular-v2 .pct-progress-glow {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    height: 100% !important;
    width: 100% !important;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%) !important;
    animation: progress-glow 2s infinite !important;
}

.pct-modular-v2 .pct-progress-stats {
    display: flex !important;
    justify-content: space-between !important;
    margin-top: 0.5rem !important;
    font-size: 0.8rem !important;
    opacity: 0.7 !important;
}

/* Enhanced Start Screen */
.pct-modular-v2 .pct-start-features {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    gap: 1rem !important;
    margin: 2rem 0 !important;
}

.pct-modular-v2 .pct-feature {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 1rem !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
}

.pct-modular-v2 .pct-feature-icon {
    font-size: 1.2rem !important;
}

.pct-modular-v2 .pct-start-note {
    margin-top: 1.5rem !important;
    padding: 1rem !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    border-left: 4px solid rgba(255, 255, 255, 0.3) !important;
}

/* Enhanced Content */
.pct-modular-v2 .pct-content-wrapper {
    position: relative !important;
}

/* Step Indicator - Ultra Minimal */
.pct-step-indicator {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin-bottom: 1.5rem !important;
    padding: 0 !important;
    background: none !important;
    border-radius: 0 !important;
}

.pct-step-badge {
    background: #2aa5dc !important;
    color: white !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 12px !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
}

.pct-step-title {
    font-size: 1rem !important;
    font-weight: 400 !important;
    color: #666 !important;
    margin: 0 !important;
}

/* Loading Screen - Ultra Minimal */
.pct-loading-screen {
    text-align: center !important;
    padding: 3rem 1rem !important;
}

.pct-loading-animation {
    margin-bottom: 1.5rem !important;
}

.pct-loading-spinner-large {
    font-size: 2rem !important;
    margin-bottom: 1rem !important;
    animation: spin 1s linear infinite !important;
    display: block !important;
    color: #2aa5dc !important;
}

.pct-loading-title {
    font-size: 1.2rem !important;
    font-weight: 500 !important;
    color: #2aa5dc !important;
    margin: 0 0 0.5rem 0 !important;
}

.pct-loading-message {
    color: #666 !important;
    margin: 0 0 1.5rem 0 !important;
    font-size: 0.9rem !important;
}

.pct-loading-dots {
    display: flex !important;
    gap: 0.25rem !important;
    justify-content: center !important;
    margin-top: 1rem !important;
}

.pct-loading-dots span {
    width: 6px !important;
    height: 6px !important;
    background: #2aa5dc !important;
    border-radius: 50% !important;
    animation: loading-bounce 1.4s infinite ease-in-out both !important;
}

.pct-loading-dots span:nth-child(1) { animation-delay: -0.32s !important; }
.pct-loading-dots span:nth-child(2) { animation-delay: -0.16s !important; }
.pct-loading-dots span:nth-child(3) { animation-delay: 0s !important; }

.pct-loading-progress {
    margin-top: 1rem !important;
    max-width: 200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.pct-loading-bar {
    width: 100% !important;
    height: 2px !important;
    background: rgba(42, 165, 220, 0.2) !important;
    border-radius: 1px !important;
    overflow: hidden !important;
}

.pct-loading-fill {
    height: 100% !important;
    background: #2aa5dc !important;
    animation: loading-fill 2s infinite !important;
}

/* Enhanced Error */
.pct-modular-v2 .pct-error-actions {
    display: flex !important;
    gap: 1rem !important;
    margin: 2rem 0 !important;
    justify-content: center !important;
}

.pct-modular-v2 .pct-error-details {
    margin-top: 2rem !important;
    padding: 1rem !important;
    background: rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px !important;
    text-align: left !important;
}

.pct-modular-v2 .pct-error-log {
    background: #000 !important;
    color: #0f0 !important;
    padding: 1rem !important;
    border-radius: 4px !important;
    font-size: 0.8rem !important;
    max-height: 200px !important;
    overflow-y: auto !important;
}

.pct-modular-v2 .pct-error-help {
    margin-top: 1.5rem !important;
    padding: 1rem !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
}

/* Container Styles */
.pct-style-boxed {
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 2rem !important;
}

.pct-style-full-width {
    width: 100% !important;
    padding: 1rem !important;
}

/* Animations */
@keyframes progress-glow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes loading-bounce {
    0%, 80%, 100% { 
        transform: scale(0);
    } 40% { 
        transform: scale(1);
    }
}

@keyframes loading-fill {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Animations */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.pct-question-container {
    animation: fadeIn 0.5s ease-out !important;
}

/* Responsive Design - Ultra Mobile Optimized */
@media (max-width: 768px) {
    .pct-career-test {
        margin: 0.25rem !important;
        padding: 0.5rem !important;
        max-width: 100% !important;
    }
    
    .pct-test-title {
        font-size: 1.75rem !important;
    }
    
    .pct-question-container {
        padding: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .pct-question-title {
        font-size: 1rem !important;
        padding-left: 2rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.4 !important;
    }
    
    .pct-question-number {
        width: 20px !important;
        height: 20px !important;
        font-size: 0.7rem !important;
    }
    
    .pct-answers-grid {
        gap: 0.5rem !important;
        margin-top: 0.75rem !important;
    }
    
    .pct-answer-label {
        padding: 0.875rem !important;
        font-size: 0.95rem !important;
        min-height: 48px !important;
        line-height: 1.3 !important;
    }
    
    .pct-navigation {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .pct-btn {
        width: 100% !important;
        max-width: 300px !important;
    }
    
    /* 📱 MOBILE REPORT OPTIMIZATION - MEGA READABLE */
    .pct-test-result {
        padding: 1rem !important;
        margin: 0.25rem !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .pct-result-title {
        font-size: 1.5rem !important;
        padding: 1rem !important;
        gap: 0.75rem !important;
        line-height: 1.4 !important;
    }
    
    .pct-result-title::before {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.5rem !important;
    }
    
    .pct-report-content-section {
        margin: 1.5rem 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .pct-report-content-section h3 {
        font-size: 1.3rem !important;
        padding: 1.25rem !important;
        line-height: 1.4 !important;
        flex-wrap: wrap !important;
    }
    
    .pct-report-content-section h3::before {
        width: 32px !important;
        height: 32px !important;
        font-size: 1.4rem !important;
        flex-shrink: 0 !important;
    }
    
    /* 🔥 MOBILE CONTENT - ULTRA READABLE */
    .pct-report-content {
        padding: 1.5rem !important;
        font-size: 1.1rem !important;
        line-height: 1.8 !important;
        color: #333 !important;
    }
    
    .pct-report-content p {
        margin-bottom: 1.5rem !important;
        padding-left: 0 !important;
        font-size: 1.1rem !important;
        line-height: 1.8 !important;
    }
    
    .pct-report-content p::before {
        display: none !important;
    }
    
    .pct-report-content li {
        padding: 1rem 0 1rem 2.5rem !important;
        margin-bottom: 1rem !important;
        font-size: 1.1rem !important;
        line-height: 1.7 !important;
    }
    
    .pct-report-content li::before {
        width: 22px !important;
        height: 22px !important;
        font-size: 0.8rem !important;
    }
    
    .pct-result-actions {
        flex-direction: column !important;
        gap: 1rem !important;
        padding: 2rem 1rem 1.5rem 1rem !important;
        margin-top: 2rem !important;
    }
    
    .pct-result-actions::before {
        font-size: 0.9rem !important;
        padding: 0.6rem 1rem !important;
    }
    
    .pct-result-actions .pct-btn {
        max-width: none !important;
        width: 100% !important;
        min-width: auto !important;
        padding: 1.2rem 1.5rem !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .pct-career-test {
        margin: 0.125rem !important;
        padding: 0.25rem !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .pct-test-title {
        font-size: 1.5rem !important;
    }
    
    .pct-question-container {
        padding: 0.875rem !important;
        margin-bottom: 0.875rem !important;
        border-radius: 6px !important;
    }
    
    .pct-question-title {
        font-size: 0.95rem !important;
        padding-left: 1.75rem !important;
        margin-bottom: 0.875rem !important;
        line-height: 1.35 !important;
    }
    
    .pct-question-number {
        width: 18px !important;
        height: 18px !important;
        font-size: 0.65rem !important;
    }
    
    .pct-answers-grid {
        gap: 0.5rem !important;
        margin-top: 0.5rem !important;
    }
    
    .pct-answer-label {
        padding: 0.75rem !important;
        font-size: 0.9rem !important;
        min-height: 48px !important;
        line-height: 1.3 !important;
    }
    
    /* 📱 480PX ULTRA MOBILE REPORT - MAXIMUM READABILITY */
    .pct-test-result {
        padding: 0.75rem !important;
        margin: 0.125rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .pct-result-title {
        font-size: 1.4rem !important;
        padding: 1rem !important;
        gap: 0.75rem !important;
        line-height: 1.5 !important;
        flex-wrap: wrap !important;
    }
    
    .pct-result-title::before {
        width: 36px !important;
        height: 36px !important;
        font-size: 1.4rem !important;
    }
    
    .pct-result-icon {
        font-size: 1.8rem !important;
    }
    
    .pct-report-content-section {
        margin: 1.25rem 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .pct-report-content-section h3 {
        font-size: 1.2rem !important;
        padding: 1rem !important;
        line-height: 1.5 !important;
        flex-wrap: wrap !important;
    }
    
    .pct-report-content-section h3::before {
        width: 30px !important;
        height: 30px !important;
        font-size: 1.3rem !important;
    }
    
    /* 🚀 ULTRA MOBILE CONTENT - MEGA READABLE */
    .pct-report-content {
        padding: 1.25rem !important;
        font-size: 1.15rem !important;
        line-height: 1.9 !important;
        color: #222 !important;
    }
    
    .pct-report-content p {
        margin-bottom: 1.75rem !important;
        padding-left: 0 !important;
        font-size: 1.15rem !important;
        line-height: 1.9 !important;
        color: #333 !important;
    }
    
    .pct-report-content p::before {
        display: none !important;
    }
    
    .pct-report-content li {
        padding: 1.25rem 0 1.25rem 2.75rem !important;
        margin-bottom: 1.25rem !important;
        font-size: 1.15rem !important;
        line-height: 1.8 !important;
        color: #444 !important;
    }
    
    .pct-report-content li::before {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.9rem !important;
    }
    
    .pct-report-content strong {
        font-size: 1.2rem !important;
        padding: 0.25rem 0.5rem !important;
    }
}

/* Disabled State */
.pct-btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.pct-btn:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Focus States for Accessibility - Brand Colors */
.pct-answer-label:focus-within {
    outline: 2px solid #2aa5dc !important;
    outline-offset: 2px !important;
}

.pct-btn:focus {
    outline: 2px solid #2aa5dc !important;
    outline-offset: 2px !important;
} 

/* ✅ PHASE 1: MODERN COMPLETED SCREEN STYLES */

/* Completed Screen Container */
.pct-completed-screen {
    max-width: 800px !important;
    margin: 2rem auto !important;
    padding: 0 1rem !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.pct-completed-container {
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
    border: 1px solid #f1f3f4 !important;
}

/* Success Header */
.pct-success-header {
    text-align: center !important;
    padding: 3rem 2rem 2rem !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    border-bottom: 1px solid #e9ecef !important;
}

.pct-success-icon {
    margin-bottom: 1.5rem !important;
    display: inline-block !important;
    animation: pct-bounce-in 0.6s ease-out !important;
}

.pct-success-title {
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    color: #28a745 !important;
    margin: 0 0 0.5rem 0 !important;
    line-height: 1.2 !important;
}

.pct-success-subtitle {
    font-size: 1.1rem !important;
    color: #6c757d !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

/* Result Card */
.pct-result-card {
    padding: 2rem !important;
    background: #ffffff !important;
}

.pct-result-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 1px solid #e9ecef !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
}

.pct-result-title {
    font-size: 1.6rem !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    flex: 1 !important;
}

.pct-result-badge {
    background: linear-gradient(45deg, #2aa5dc, #e7443a) !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 8px rgba(42, 165, 220, 0.3) !important;
}

.pct-result-content {
    color: #495057 !important;
    line-height: 1.6 !important;
}

.pct-result-description {
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
    color: #495057 !important;
}

.pct-result-description strong {
    color: #28a745 !important;
    font-weight: 600 !important;
}

/* Download Section */
.pct-download-section {
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    margin: 1.5rem 0 !important;
}

.pct-download-section h3 {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    margin: 0 0 0.75rem 0 !important;
}

.pct-download-section p {
    font-size: 0.95rem !important;
    color: #6c757d !important;
    margin: 0 0 1rem 0 !important;
}

/* Buttons */
.pct-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1.5rem !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    min-height: 44px !important;
    font-family: inherit !important;
}

.pct-btn-primary {
    background: linear-gradient(45deg, #2aa5dc, #1e88c7) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(42, 165, 220, 0.3) !important;
}

.pct-btn-primary:hover {
    background: linear-gradient(45deg, #e7443a, #c73328) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(231, 68, 58, 0.4) !important;
}

.pct-btn-secondary {
    background: #6c757d !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3) !important;
}

.pct-btn-secondary:hover {
    background: #5a6268 !important;
    transform: translateY(-1px) !important;
}

.pct-btn-outline {
    background: transparent !important;
    color: #e7443a !important;
    border: 2px solid #e7443a !important;
    box-shadow: 0 2px 8px rgba(231, 68, 58, 0.1) !important;
}

.pct-btn-outline:hover {
    background: #e7443a !important;
    color: white !important;
    transform: translateY(-1px) !important;
}

.pct-btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Download Status */
.pct-download-status {
    margin-top: 1rem !important;
    font-size: 0.9rem !important;
}

.pct-download-status .pct-success {
    color: #28a745 !important;
    background: #d4edda !important;
    border: 1px solid #c3e6cb !important;
    padding: 0.5rem 1rem !important;
    border-radius: 6px !important;
}

.pct-download-status .pct-error {
    color: #dc3545 !important;
    background: #f8d7da !important;
    border: 1px solid #f5c6cb !important;
    padding: 0.5rem 1rem !important;
    border-radius: 6px !important;
}

.pct-download-status .pct-info {
    color: #0c5460 !important;
    background: #d1ecf1 !important;
    border: 1px solid #bee5eb !important;
    padding: 0.5rem 1rem !important;
    border-radius: 6px !important;
}

/* Free Result */
.pct-free-result {
    padding: 1rem 0 !important;
}

.pct-upgrade-card {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%) !important;
    border: 1px solid #ffeaa7 !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    margin-top: 1.5rem !important;
}

.pct-upgrade-card h4 {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #856404 !important;
    margin: 0 0 1rem 0 !important;
}

.pct-upgrade-card ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.pct-upgrade-card li {
    padding: 0.5rem 0 !important;
    color: #856404 !important;
    font-weight: 500 !important;
}

/* New Test Section */
.pct-new-test-section {
    padding: 2rem !important;
    background: #f8f9fa !important;
    border-top: 1px solid #e9ecef !important;
}

.pct-new-test-section h3 {
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    margin: 0 0 1rem 0 !important;
}

.pct-new-test-section p {
    color: #6c757d !important;
    margin: 0 0 1.5rem 0 !important;
    line-height: 1.5 !important;
}

.pct-paid-user-notice {
    background: #fff3cd !important;
    border: 1px solid #ffeaa7 !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
    color: #856404 !important;
}

.pct-paid-user-notice p {
    margin: 0 0 1rem 0 !important;
    color: #856404 !important;
}

.pct-paid-user-notice p:last-of-type {
    margin-bottom: 1.5rem !important;
}

/* Animations */
@keyframes pct-bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Spinner */
.spinner {
    width: 16px !important;
    height: 16px !important;
    border: 2px solid #ffffff !important;
    border-top: 2px solid transparent !important;
    border-radius: 50% !important;
    animation: spin 1s linear infinite !important;
    display: inline-block !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pct-completed-screen {
        margin: 1rem auto !important;
        padding: 0 0.5rem !important;
    }
    
    .pct-success-header {
        padding: 2rem 1rem 1.5rem !important;
    }
    
    .pct-success-title {
        font-size: 1.8rem !important;
    }
    
    .pct-success-subtitle {
        font-size: 1rem !important;
    }
    
    .pct-result-card {
        padding: 1.5rem !important;
    }
    
    .pct-result-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
    }
    
    .pct-result-title {
        font-size: 1.4rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .pct-download-section {
        padding: 1rem !important;
    }
    
    .pct-new-test-section {
        padding: 1.5rem !important;
    }
    
    .pct-btn {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.95rem !important;
        width: 100% !important;
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .pct-success-icon svg {
        width: 60px !important;
        height: 60px !important;
    }
    
    .pct-success-title {
        font-size: 1.6rem !important;
    }
    
    .pct-result-title {
        font-size: 1.3rem !important;
    }
    
    .pct-download-section h3 {
        font-size: 1.1rem !important;
    }
} 