/* TC Trader Quiz Frontend Styles */

/* Import Outfit font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* Screen reader text utility (like the CodePen example) */
.tc-share-text-sr {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

:root {
    /* ThinkCapital Brand Colors */
    --tc-text-color: #0F1215;
    --tc-button-bg: #1ED760;
    --tc-highlight-color: #1ED760;
    --tc-border-color: #1ED760;
    --tc-button-hover-bg: #081418;
    --tc-midnight-medium: #2A343F;
    --tc-light-text: #FBFDFE;
    
    /* Additional UI Colors */
    --tc-background: #ffffff;
    --tc-light-bg: #f8f9fa;
    --tc-success: #1ED760;
    --tc-error: #D71E1E;
    --tc-shadow: rgba(7, 16, 19, 0.1);
    --tc-shadow-dark: rgba(7, 16, 19, 0.3);
    
    /* UI Element Colors */
    --tc-border-light: #e1e5e9;
    --tc-border-lighter: #e0e0e0;
    --tc-neutral: #888;
    --tc-neutral-bg: #f5f5f5;
    --tc-offer-color: #000;
    --tc-spinner-bg: #f3f3f3;
    --tc-avatar-bg: #f8f9fa;
}

.tc-quiz-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 16, 19, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.tc-quiz-modal-content {
    background-color: var(--tc-light-text);
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 16px;
    width: 95%;
    max-width: 1556px !important;
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: 0px 21px 42.8px 0px var(--tc-shadow-dark);
    animation: slideIn 0.3s ease-out;
    position: relative;
}

/* Enhanced scrolling for results page */
.tc-quiz-modal-content.results-displayed {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

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

.tc-quiz-modal-close {
    width: 18px;
    height: 18px;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    position: absolute;
    right: 34px;
    top: 34px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tc-light-text);
}

.tc-quiz-modal-close svg {
    width: 18px;
    height: 18px;
    transition: all 0.2s ease;
}

.tc-quiz-modal-close:hover {
    color: var(--tc-error);
    transform: scale(1.1);
}

/* Close button visibility fix for results page */
.tc-quiz-modal-content.results-displayed .tc-quiz-modal-close {
    color: var(--tc-text-color);
}

.tc-quiz-modal-content.results-displayed .tc-quiz-modal-close:hover {
    color: var(--tc-error);
}

/* Global font application for all quiz elements */
.tc-quiz-modal,
.tc-quiz-modal *,
.tc-quiz-container,
.tc-quiz-container *,
.tc-quiz-wrapper,
.tc-quiz-wrapper * {
    font-family: 'Outfit', sans-serif;
}

.tc-quiz-container,
.tc-quiz-wrapper {
    max-width: 100%;
    margin: 0 auto;
    background: var(--tc-background);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--tc-shadow);
}

.tc-quiz-header {
    background: var(--tc-text-color);
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.tc-quiz-title {
    color: var(--tc-light-text);
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    line-height: 148%;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tc-quiz-description {
    color: var(--tc-light-text);
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    line-height: 148%;
    margin: 0;
}

.tc-quiz-progress {
    padding: 20px 20px;
    margin-top: 20px;
}

.tc-step-indicators {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 0;
}

.tc-step-indicators::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 15px;
    right: 15px;
    height: 10px;
    background: var(--tc-midnight-medium);
    transform: translateY(-50%);
    z-index: 1;
}

.tc-step-indicators::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 15px;
    height: 10px;
    background: var(--tc-button-bg);
    transform: translateY(-50%);
    z-index: 1;
    width: var(--progress-width, 0px);
    transition: width 0.3s ease;
}

.tc-step-indicator {
    position: relative;
    z-index: 2;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--tc-midnight-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tc-step-indicator.completed {
    background: var(--tc-button-bg);
}

.tc-step-indicator.current {
    background: var(--tc-button-bg);
    transform: scale(1.1);
    color: var(--tc-text-color);
}

.tc-step-number {
    font-size: 14px;
    font-weight: 700;
    color: #8699A7;
    line-height: 1;
}

.tc-step-indicator.current .tc-step-number,
.tc-step-indicator.completed .tc-step-number {
    color: var(--tc-text-color);
}

/* Responsive step indicators */
@media (max-width: 768px) {
    .tc-quiz-progress {
        padding: 12px 15px;
    }
    
    .tc-step-indicator {
        width: 30px;
        height: 30px;
    }
    
    .tc-step-number {
        font-size: 13px;
    }
    
    .tc-step-indicators::before {
        left: 15px;
        right: 15px;
    }
    
    .tc-step-indicators::after {
        left: 15px;
    }
}

@media (max-width: 480px) {
    .tc-quiz-progress {
        padding: 10px 12px;
    }
    
    .tc-step-indicator {
        width: 30px;
        height: 30px;
    }
    
    .tc-step-number {
        font-size: 12px;
    }
    
    .tc-step-indicators::before {
        height: 1px;
        left: 15px;
        right: 15px;
    }
    
    .tc-step-indicators::after {
        height: 1px;
        left: 15px;
    }
}

.tc-quiz-form {
    position: relative;
}

.tc-quiz-step {
    display: none;
    padding: 25px 40px;
    min-height: 250px;
    animation: fadeIn 0.4s ease-in;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.tc-quiz-step.active {
    display: block;
}

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

.tc-quiz-step-content h3 {
    font-size: 32px;
    font-weight: 700;
    line-height: 148%;
    color: var(--tc-text-color);
    margin-bottom: 20px;
}

.tc-form-subtitle {
    color: #364757;
    font-size: 20px;
    font-weight: 400;
    line-height: 148%;
    text-align: left;
    margin: 0 0 30px 0;
}

.tc-form-group {
    margin-bottom: 25px;
}

/* Form row for displaying fields side by side */
.tc-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.tc-form-row .tc-form-group {
    flex: 1;
    margin-bottom: 0;
}

.tc-form-group label {
    display: block;
    color: var(--tc-text-color);
    font-size: 18px;
    font-weight: 700;
    line-height: 148%;
    margin-bottom: 8px;
}

.tc-form-group input,
.tc-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid #C4CDD4;
    background: #F2F5F7;
    font-size: 16px;
    color: var(--tc-text-color);
    transition: all 0.3s ease;
}

.tc-form-group input:focus,
.tc-form-group textarea:focus {
    outline: none;
    border-color: var(--tc-border-color);
    background: var(--tc-background);
}

.required {
    color: var(--tc-error);
}

/* Legal Consent Checkbox */
.tc-legal-consent {
    border-radius: 12px;
    border: 1px solid #C4CDD4;
    background: #F2F5F7;
    padding: 15px;
    margin-top: 20px;
}

.tc-consent-label {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin-bottom: 0 !important;
    font-weight: normal !important;
}

.tc-consent-label input[type="checkbox"] {
    width: auto !important;
    margin: 4px 0 0 0;
    transform: scale(1.2);
    accent-color: var(--tc-button-bg);
    flex-shrink: 0;
    border-radius: 2px;
    border: 1px solid #C4CDD4;
    background: var(--tc-light-text);
}

.tc-consent-text {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 148%;
    color: var(--tc-text-color);
}

.tc-consent-text a {
    color: var(--tc-button-bg);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.tc-consent-text a:hover {
    border-bottom-color: var(--tc-button-bg);
    color: var(--tc-border-color);
}

.tc-question-options {
    display: grid;
    gap: 12px;
}

.tc-option-label {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #C4CDD4;
    background: #F2F5F7;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tc-option-label:hover,
.tc-option-label:focus-within {
    border-color: var(--tc-highlight-color);
    transform: translateY(-1px);
    outline: none;
}

.tc-option-label input[type="radio"] {
    margin-right: 12px;
    transform: scale(1.2);
    accent-color: var(--tc-text-color);
}

.tc-option-label input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin-right: 12px;
    accent-color: var(--tc-text-color);
    border-radius: 2px;
    border: 1px solid #C4CDD4;
    background: var(--tc-light-text);
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.tc-option-label input[type="checkbox"]:checked {
    background: var(--tc-text-color);
    border-color: var(--tc-text-color);
}

/* Multiple choice specific styling */
.tc-multiple-choice .tc-option-label {
    margin-bottom: 8px;
}

.tc-multiple-choice .tc-option-label:last-child {
    margin-bottom: 0;
}

.tc-option-label.selected {
    background: var(--tc-button-bg);
    border-color: var(--tc-border-color);
    color: white;
}

.tc-option-text {
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 148%;
    color: var(--tc-text-color);
    flex: 1;
}

.tc-rating-scale {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 20px 0;
}

.tc-rating-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: var(--tc-light-bg);
    border: 2px solid var(--tc-border-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 60px;
}

.tc-rating-label:hover,
.tc-rating-label:focus-within {
    background: rgba(149, 255, 15, 0.1);
    border-color: var(--tc-highlight-color);
    transform: translateY(-2px);
    outline: none;
}

.tc-rating-label input[type="radio"] {
    display: none;
}

.tc-rating-label.selected {
    background: var(--tc-button-bg);
    border-color: var(--tc-border-color);
    color: white;
}

.tc-rating-star {
    font-size: 1.5em;
    font-weight: bold;
}

.tc-quiz-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
    flex-wrap: wrap;
}

.tc-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
}

.tc-btn-primary {
    background: var(--tc-button-bg);
    border: 1px solid var(--tc-button-bg);
    color: var(--tc-text-color);
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 148%;
}

.tc-btn-primary:hover,
.tc-btn-primary:focus {
    border: 1px solid #1ED760;
    background: transparent;
    color: var(--tc-text-color);
    outline: none;
}

.tc-btn-secondary {
    border: 1px solid var(--tc-text-color);
    background: var(--tc-text-color);
    color: #fff;
}

.tc-btn-secondary:hover,
.tc-btn-secondary:focus {
    border: 1px solid var(--tc-text-color);
    background: var(--tc-light-text);
    color: var(--tc-text-color);
    outline: none;
}

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

.tc-quiz-trigger-btn {
    background: var(--tc-button-hover-bg);
    color: var(--tc-light-text);
    border: none;
    padding: 14px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
    min-height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tc-quiz-trigger-btn:hover,
.tc-quiz-trigger-btn:focus {
    background: var(--tc-button-hover-bg);
    color: #D4AF37;
    transform: translateY(-2px);
    outline: none;
}

/* Results Styles */
.tc-results-loading {
    text-align: center;
    padding: 60px 20px;
}

/* Progressive Loading Styles */
.tc-progressive-loading {
    padding: 40px 30px;
    text-align: center;
}

.tc-loading-header {
    margin-bottom: 40px;
}

.tc-loading-header h3 {
    color: var(--tc-text-color);
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.3;
}

.tc-loading-progress {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.tc-progress-bar-loading {
    flex: 1;
    background: var(--tc-light-bg);
    border-radius: 20px;
    height: 12px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tc-progress-fill-loading {
    background: var(--tc-button-bg);
    height: 100%;
    border-radius: 20px;
    width: 0%;
    transition: width 0.8s ease;
    box-shadow: 0 0 15px rgba(30, 215, 96, 0.4);
}

.tc-progress-percentage {
    font-weight: 600;
    color: var(--tc-text-color);
    font-size: 1.1em;
    min-width: 50px;
}

.tc-loading-stage-container {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.tc-loading-stage {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--tc-light-bg);
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.5s ease;
    opacity: 0.6;
}

.tc-loading-stage.active {
    opacity: 1;
    border-color: var(--tc-border-color);
    background: linear-gradient(135deg, rgba(30, 215, 96, 0.05) 0%, rgba(30, 215, 96, 0.02) 100%);
    transform: translateX(10px);
}

.tc-loading-stage.completed {
    opacity: 0.8;
    background: linear-gradient(135deg, rgba(30, 215, 96, 0.1) 0%, rgba(30, 215, 96, 0.05) 100%);
    border-color: var(--tc-success);
}

.tc-stage-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--tc-background);
    border: 2px solid var(--tc-border-light);
    transition: all 0.3s ease;
}

.tc-loading-stage.active .tc-stage-icon {
    border-color: var(--tc-border-color);
    background: linear-gradient(135deg, var(--tc-button-bg) 0%, var(--tc-success) 100%);
}

.tc-loading-stage.completed .tc-stage-icon {
    background: var(--tc-success);
    border-color: var(--tc-success);
}

.tc-spinner-small {
    width: 24px;
    height: 24px;
    border: 3px solid var(--tc-light-bg);
    border-top: 3px solid var(--tc-border-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.tc-loading-stage.active .tc-spinner-small {
    border-color: rgba(255, 255, 255, 0.3);
    border-top-color: var(--tc-background);
}

.tc-stage-content {
    flex: 1;
    min-width: 0;
}

.tc-stage-content h4 {
    color: var(--tc-text-color);
    font-size: 1.2em;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.tc-loading-stage.active .tc-stage-content h4 {
    color: var(--tc-button-bg);
}

.tc-stage-content p {
    color: var(--tc-text-color);
    opacity: 0.8;
    margin: 0;
    font-size: 0.95em;
    line-height: 1.4;
}

.tc-stage-status {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.tc-status-pending {
    color: var(--tc-neutral);
    font-size: 0.9em;
    font-style: italic;
}

.tc-status-complete {
    color: var(--tc-success);
    font-size: 1.5em;
    font-weight: bold;
}

.tc-spinner {
    border: 4px solid var(--tc-spinner-bg);
    border-top: 4px solid var(--tc-button-bg);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.tc-quiz-results {
    padding: 20px;
    overflow-y: visible;
    min-height: auto;
}

/* Hide quiz header when results are shown to prevent scrolling */
.tc-quiz-results ~ * .tc-quiz-header,
.tc-quiz-container:has(.tc-quiz-results) .tc-quiz-header {
    display: none !important;
}

/* Alternative approach for browsers that don't support :has() */
.tc-quiz-step:has(.tc-quiz-results) ~ .tc-quiz-header,
.tc-results-displayed .tc-quiz-header {
    display: none !important;
}

.tc-results-header {
    text-align: center;
    margin-bottom: 20px;
}

.tc-results-header h3 {
    margin: 0 0 8px 0;
    color: var(--tc-text-color);
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 148%;
}

.tc-results-subtitle {
    margin: 0 0 0 0;
    font-size: 17.793px;
    font-style: normal;
    font-weight: 400;
    line-height: 148%;
    color: #364757;
}

/* Trader Avatar Styles - Optimized Horizontal Layout */
.tc-trader-avatar {
    display: grid;
    grid-template-columns: minmax(290px, 290px) 1fr;
    gap: 25px;
    align-items: stretch;
    margin: 15px 0;
    position: relative;
}

.tc-avatar-left-section {
    border-radius: 12px;
    border: 1px solid #C4CDD4;
    background: #F2F5F7;
    padding: 24px;
    min-width: 290px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tc-avatar-right-section {
    border-radius: 12px;
    border: 1px solid #C4CDD4;
    background: #F2F5F7;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
    position: relative;
}

.tc-avatar-image-container {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

/* Avatar Image Styling */
.tc-avatar-image-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 240px;
    height: auto;
    margin: 0 auto;
}

.tc-avatar-image-placeholder svg {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* Avatar Header */
.tc-avatar-header {
    border-radius: 12px;
    border: 1px solid #C4CDD4;
    background: #FBFDFE;
    padding: 26px 16px;
    text-align: center;
    margin: 0;
}

.tc-avatar-header h2 {
    color: var(--tc-button-bg);
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 0 0 10px 0;
}

.tc-avatar-description {
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    color: var(--tc-text-color);
    margin-bottom: 0;
}

/* Optimized Card Rows */
.tc-top-cards-row,
.tc-bottom-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 8px;
}

/* Suggested Account Size Section */
.tc-suggested-account-size {
    border-radius: 12px;
    border: 1px solid #C4CDD4;
    background: #FBFDFE;
    padding: 26px;
    position: relative;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tc-suggested-account-size h4 {
    color: var(--tc-text-color);
    margin: 0 0 8px 0;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 148%;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tc-suggested-account-size h4 .tc-account-icon {
    width: 24px;
    height: 24px;
    color: var(--tc-button-bg);
    flex-shrink: 0;
}

.tc-account-size-amount {
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 148%;
    background: var(--tc-button-bg);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--tc-button-bg);
    margin: 8px 0 6px 0;
    position: relative;
}

/* Suggested Challenge Section */
.tc-suggested-challenge {
    border-radius: 12px;
    border: 1px solid #C4CDD4;
    background: #FBFDFE;
    padding: 26px;
    position: relative;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tc-suggested-challenge h4 {
    color: var(--tc-text-color);
    margin: 0 0 8px 0;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 148%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tc-challenge-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.tc-challenge-icon svg {
    width: 34px;
    height: 34px;
}

.tc-challenge-name {
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 148%;
    margin: 10px 0 8px 0;
}

.tc-challenge-description {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: var(--tc-text-color);
}

/* Suggested Add-ons Section */
.tc-suggested-addons {
    border-radius: 12px;
    border: 1px solid #C4CDD4;
    background: #FBFDFE;
    padding: 26px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
}

.tc-suggested-addons h4 {
    color: var(--tc-button-bg);
    margin: 0 0 8px 0;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.tc-addon-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tc-addon-list li {
    padding: 4px 0;
    color: var(--tc-text-color);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    position: relative;
    padding-left: 15px;
}

.tc-addon-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--tc-button-bg);
    font-weight: bold;
}

/* Avatar Attributes Section */
.tc-avatar-attributes {
    border-radius: 12px;
    border: 1px solid #C4CDD4;
    background: #FBFDFE;
    padding: 26px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
}

.tc-avatar-attributes h4 {
    color: var(--tc-button-bg);
    margin: 0 0 8px 0;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.tc-attributes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tc-attributes-list li {
    padding: 4px 0;
    color: var(--tc-text-color);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    position: relative;
    padding-left: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tc-attributes-list li:last-child {
    border-bottom: none;
}

.tc-attributes-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--tc-button-bg);
    font-weight: bold;
    font-size: 1.1em;
}

/* CTA Section - Inside avatar container */
.tc-avatar-cta-section {
    border: none;
    padding: 5px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(135deg, rgba(30, 215, 96, 0.02) 0%, rgba(30, 215, 96, 0.05) 100%);
}

/* Button row container for horizontal alignment */
.tc-cta-buttons-row {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-direction: row-reverse;
}

.tc-cta-buttons-row .tc-btn {
    flex: 1;
    max-width: calc(50% - 7.5px);
    min-width: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* CTA Button Styles for horizontal layout */
.tc-avatar-cta-section .tc-buy-now-btn {
    background: var(--tc-button-bg);
    color: var(--tc-text-color);
    padding: 17px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 148%;
    text-transform: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    flex: 1;
    white-space: nowrap;
}

.tc-avatar-cta-section .tc-buy-now-btn:hover,
.tc-avatar-cta-section .tc-buy-now-btn:focus {
    background: transparent;
    border: 1px solid var(--tc-button-bg);
    color: var(--tc-text-color);
    outline: none;
}

.tc-avatar-cta-section .tc-retake-btn {
    padding: 17px 24px;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 148%;
    text-align: center;
    white-space: nowrap;
    text-transform: none;
}

/* Promo text below buttons */
.tc-avatar-cta-section .tc-buy-now-offer {
    text-align: center;
    margin: 0;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 148%;
    color: var(--tc-offer-color);
    animation: pulseOffer 2s infinite;
}

/* Promo Code Styles - Simplified Single Line */
.tc-promo-offer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    margin: 0;
    flex-wrap: wrap;
}

.tc-promo-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--tc-offer-color);
    margin: 0;
    animation: pulseOffer 2s infinite;
}

.tc-promo-code-wrapper {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--tc-button-bg), #17c653);
    border-radius: 6px;
    padding: 2px;
    transition: all 0.2s ease;
}

.tc-promo-code-wrapper:hover {
    box-shadow: 0 2px 4px rgba(30, 215, 96, 0.3);
}

.tc-promo-code {
    background: white;
    color: var(--tc-text-color);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    border-radius: 4px;
    border: none;
    margin: 0;
    text-transform: uppercase;
    cursor: pointer;
    user-select: all;
}

.tc-copy-code-btn {
    background: transparent;
    border: none;
    color: white;
    padding: 6px;
    cursor: pointer;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.tc-copy-code-btn:hover,
.tc-copy-code-btn:focus {
    background: rgba(255, 255, 255, 0.2);
}

.tc-copy-code-btn svg {
    width: 14px;
    height: 14px;
}

@keyframes pulseOffer {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Social Sharing Styles - Compact Only */

.tc-quiz-sharing-compact {
    margin-top: 40px;
    padding: unset;
    background: none;

}

.tc-quiz-sharing-compact h4 {
    font-size: 16px;
    margin: 0 0 14px 0;
    color: var(--tc-text-color);
    font-weight: 600;
}

.tc-share-buttons-compact {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.tc-share-btn-compact {
    padding: 10px;
    min-width: 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    gap: 0;
    justify-content: center;
    align-items: center;
    font-size: 0;
    border: 1px solid rgba(196, 205, 212, 0.5);
    background: var(--tc-background);
    color: var(--tc-text-color);
    transition: all 0.3s ease;
}

.tc-share-btn-compact:hover,
.tc-share-btn-compact:focus {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: white;
}

.tc-share-btn-compact svg {
    width: 16px;
    height: 16px;
}

/* Platform-specific colors */
.tc-share-facebook:hover,
.tc-share-facebook:focus {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.tc-share-twitter:hover,
.tc-share-twitter:focus {
    background: #000000;
    border-color: #000000;
    color: white;
}

.tc-share-linkedin:hover,
.tc-share-linkedin:focus {
    background: #0077b5;
    border-color: #0077b5;
    color: white;
}

.tc-share-whatsapp:hover,
.tc-share-whatsapp:focus {
    background: #25d366;
    border-color: #25d366;
    color: white;
}

.tc-share-copy:hover,
.tc-share-copy:focus {
    background: var(--tc-button-bg);
    border-color: var(--tc-button-bg);
    color: var(--tc-text-color);
}

/* Exit Confirmation Modal */
.tc-exit-confirmation-modal {
    display: none;
    position: fixed;
    z-index: 20000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.tc-exit-confirmation-content {
    background: var(--tc-text-color);
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: slideInConfirmation 0.4s ease-out;
}

@keyframes slideInConfirmation {
    from { 
        transform: translateY(-100px) scale(0.9); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0) scale(1); 
        opacity: 1; 
    }
}

.tc-exit-confirmation-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    line-height: 1;
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.tc-exit-confirmation-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.tc-exit-confirmation-body {
    padding: 60px 40px 50px;
    text-align: center;
    color: white;
}

.tc-exit-confirmation-body h2 {
    font-size: 2.2em;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tc-exit-confirmation-body p {
    font-size: 1.3em;
    margin: 0 0 40px 0;
    opacity: 0.95;
    line-height: 1.5;
    font-weight: 400;
}

.tc-exit-buy-now-btn {
    display: inline-block;
    background: var(--tc-button-bg);
    color: white !important;
    padding: 18px 40px;
    font-size: 1.2em;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(30, 215, 96, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.tc-exit-buy-now-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.tc-exit-buy-now-btn:hover,
.tc-exit-buy-now-btn:focus {
    background: var(--tc-button-hover-bg);
    color: var(--tc-highlight-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 215, 96, 0.5);
    outline: none;
}

.tc-exit-buy-now-btn:hover:before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tc-quiz-modal {
        padding: 15px;
    }
    
    .tc-quiz-modal-content {
        width: 100%;
        max-height: 95vh;
        border-radius: 14px;
    }
    
    /* Enhanced mobile scrolling for results */
    .tc-quiz-modal-content.results-displayed {
        max-height: 95vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tc-quiz-modal-close {
        right: 25px;
        top: 25px;
        width: 16px;
        height: 16px;
    }
    
    .tc-quiz-modal-close svg {
        width: 16px;
        height: 16px;
    }
    
    .tc-quiz-header {
        padding: 25px 20px;
    }
    
    .tc-quiz-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .tc-quiz-description {
        font-size: 18px;
    }
    
    .tc-quiz-progress {
        padding: 18px 15px;
        margin-top: 18px;
    }
    
    .tc-quiz-step {
        padding: 20px 25px;
        min-height: 200px;
    }
    
    .tc-quiz-step-content h3 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .tc-form-subtitle {
        font-size: 18px;
        margin-bottom: 25px;
    }
    
    .tc-form-group {
        margin-bottom: 20px;
    }
    
    /* Stack form row fields vertically on tablet */
    .tc-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .tc-form-row .tc-form-group {
        margin-bottom: 20px;
    }
    
    .tc-form-row .tc-form-group:last-child {
        margin-bottom: 0;
    }
    
    .tc-form-group label {
        font-size: 16px;
    }
    
    .tc-form-group input,
    .tc-form-group textarea {
        font-size: 15px;
        padding: 14px 15px;
    }
    
    .tc-consent-text {
        font-size: 16px;
    }
    
    .tc-consent-label input[type="checkbox"] {
        transform: scale(1.1);
    }
    
    .tc-btn-primary,
    .tc-btn-secondary {
        font-size: 18px;
        padding: 16px 24px;
    }
    
    .tc-quiz-trigger-btn {
        font-size: 15px;
        padding: 14px 22px;
    }
    
    .tc-option-label {
        padding: 12px;
    }
    
    .tc-option-label input[type="radio"] {
        margin-right: 10px;
    }
    
    .tc-option-text {
        font-size: 18px;
    }
    
    .tc-option-label input[type="checkbox"] {
        width: 16px;
        height: 16px;
        margin-right: 10px;
    }
    

    
    .tc-rating-scale {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .tc-rating-label {
        min-width: 80px;
        padding: 16px;
    }
    
    /* Removed old tc-results-actions and related styles - no longer used */
    
    .tc-exit-confirmation-content {
        width: 95%;
        margin: 0;
        padding: 20px;
    }
    
    .tc-exit-confirmation-close {
        top: 15px;
        right: 20px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
    
    .tc-exit-confirmation-body {
        padding: 20px;
    }
    
    .tc-exit-confirmation-body h2 {
        font-size: 1.6em;
    }
    
    .tc-exit-confirmation-body p {
        font-size: 1em;
    }
    
    .tc-exit-buy-now-btn {
        width: 100%;
        padding: 15px;
    }
    

    
    .tc-legal-consent {
        padding: 15px;
    }
    
    .tc-consent-label {
        gap: 10px;
    }
    
    .tc-consent-text {
        font-size: 0.9em;
    }
    
    /* New horizontal layout responsive styles */
    .tc-trader-avatar {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tc-avatar-left-section,
    .tc-avatar-right-section {
        padding: 20px;
    }
    
    .tc-avatar-left-section {
        min-width: auto;
        height: auto;
    }
    
    .tc-avatar-right-section {
        gap: 15px;
    }
    
    .tc-avatar-sections-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tc-avatar-cta-section {
        gap: 15px;
        margin: 12px -25px -25px -25px;
        padding: 20px 25px;
    }
    
    .tc-cta-buttons-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .tc-cta-buttons-row .tc-btn {
        max-width: 100%;
        flex: none;
        font-size: 18px;
        padding: 18px 24px;
        min-height: 56px;
        text-transform: none;
    }
    
    .tc-avatar-cta-section .tc-buy-now-btn:hover,
    .tc-avatar-cta-section .tc-buy-now-btn:focus,
    .tc-avatar-cta-section .tc-retake-btn:hover,
    .tc-avatar-cta-section .tc-retake-btn:focus {
        transform: none;
    }
    
    .tc-rating-label:hover,
    .tc-rating-label:focus-within {
        transform: none;
    }
    
    .tc-option-label:hover,
    .tc-option-label:focus-within {
        transform: none;
    }
    
    .tc-btn:hover,
    .tc-btn:focus {
        transform: none;
    }

    .tc-account-addons-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    

    
    .tc-avatar-image-placeholder {
        width: 200px;
        height: auto;
    }
    
    .tc-avatar-header {
        padding: 22px 14px;
    }
    
    .tc-avatar-header h2 {
        font-size: 18px;
    }
    
    .tc-avatar-description {
        font-size: 14px;
        line-height: 22px;
    }
    
    .tc-challenge-name {
        font-size: 24px;
    }
    
    .tc-challenge-description {
        font-size: 15px;
    }
    
    .tc-account-size-amount {
        font-size: 24px;
    }
    

    
    .tc-results-header h3 {
        font-size: 24px;
    }
    
    .tc-results-subtitle {
        font-size: 16px;
    }
    
    .tc-progressive-loading {
        padding: 30px 20px;
    }
    
    .tc-loading-header h3 {
        font-size: 1.6em;
    }
    
    .tc-loading-stage-container {
        max-width: 100%;
    }
    
    .tc-loading-stage {
        padding: 15px;
        gap: 15px;
    }
    
    .tc-stage-icon {
        width: 45px;
        height: 45px;
    }
    
    .tc-stage-content h4 {
        font-size: 1.1em;
    }
    
    .tc-stage-status {
        min-width: 70px;
    }
    
    /* Ensure proper scrolling on mobile results */
    .tc-quiz-modal-content.results-displayed {
        position: relative;
        height: auto;
        min-height: auto;
    }
    
    .tc-results-displayed .tc-quiz-wrapper {
        overflow: visible;
        height: auto;
    }
    

    
    /* Compact sharing mobile styles */
    .tc-quiz-sharing-compact {
        margin-top: 32px;
    }
    
    .tc-quiz-sharing-compact h4 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .tc-share-buttons-compact {
        gap: 6px;
    }
    
    .tc-share-btn-compact {
        width: 36px;
        height: 36px;
        padding: 8px;
    }
    
    .tc-share-btn-compact svg {
        width: 14px;
        height: 14px;
    }
    
    .tc-share-btn-compact:hover,
    .tc-share-btn-compact:focus {
        transform: none;
    }
}

@media (max-width: 480px) {
    .tc-quiz-modal {
        padding: 10px;
    }
    
    .tc-quiz-modal-content {
        width: 100%;
        max-height: 96vh;
        border-radius: 12px;
    }
    
    /* Mobile results scrolling optimization */
    .tc-quiz-modal-content.results-displayed {
        max-height: 97vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tc-quiz-modal-close {
        right: 20px;
        top: 20px;
        width: 14px;
        height: 14px;
    }
    
    .tc-quiz-modal-close svg {
        width: 14px;
        height: 14px;
    }
    
    .tc-quiz-header {
        padding: 20px 15px;
    }
    
    .tc-quiz-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .tc-quiz-description {
        font-size: 16px;
    }
    
    .tc-quiz-progress {
        padding: 15px 12px;
        margin-top: 15px;
    }
    
    .tc-quiz-step {
        padding: 15px 20px;
        min-height: 180px;
    }
    
    .tc-quiz-step-content h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .tc-form-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .tc-form-group {
        margin-bottom: 18px;
    }
    
    /* Stack form row fields vertically on mobile */
    .tc-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .tc-form-row .tc-form-group {
        margin-bottom: 18px;
    }
    
    .tc-form-row .tc-form-group:last-child {
        margin-bottom: 0;
    }
    
    .tc-form-group label {
        font-size: 15px;
    }
    
    .tc-form-group input,
    .tc-form-group textarea {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    .tc-consent-text {
        font-size: 15px;
    }
    
    .tc-consent-label input[type="checkbox"] {
        transform: scale(1.0);
    }
    
    .tc-btn-primary,
    .tc-btn-secondary {
        font-size: 16px;
        padding: 14px 20px;
        min-height: 50px;
    }
    
    .tc-quiz-trigger-btn {
        font-size: 14px;
        padding: 12px 20px;
        min-height: 44px;
    }
    
    .tc-option-label {
        padding: 12px;
        min-height: 52px;
        align-items: center;
    }
    
    .tc-option-label input[type="radio"] {
        margin-right: 8px;
        transform: scale(1.1);
    }
    
    .tc-option-text {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .tc-option-label input[type="checkbox"] {
        width: 15px;
        height: 15px;
        margin-right: 8px;
        transform: scale(1.0);
    }
    
    .tc-quiz-buttons {
        flex-direction: column-reverse;
        gap: 15px;
    }
    
    .tc-btn {
        width: 100%;
        padding: 14px 20px;
    }
    
    .tc-quiz-results {
        padding: 15px;
        overflow-y: visible;
    }
    
    /* Ensure results content is scrollable */
    .tc-results-displayed .tc-quiz-step {
        min-height: auto;
        max-height: none;
        overflow: visible;
    }
    

    
    .tc-exit-confirmation-content {
        width: 98%;
        margin: 0;
        padding: 15px;
    }
    
    .tc-exit-confirmation-close {
        top: 10px;
        right: 10px;
        width: 25px;
        height: 25px;
        font-size: 20px;
    }
    
    .tc-exit-confirmation-body {
        padding: 15px;
    }
    
    .tc-exit-confirmation-body h2 {
        font-size: 1.4em;
    }
    
    .tc-exit-confirmation-body p {
        font-size: 0.9em;
    }
    
    .tc-exit-buy-now-btn {
        padding: 12px;
        font-size: 1em;
    }
    
    /* Removed old tc-buy-now-offer mobile styles - now handled by tc-avatar-cta-section */
    
    /* Mobile horizontal layout styles */
    .tc-trader-avatar {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
        min-height: auto;
    }
    
    .tc-avatar-right-section {
        gap: 15px;
    }
    
    .tc-avatar-sections-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tc-avatar-image-placeholder {
        width: 180px;
        height: auto;
    }
    
    .tc-avatar-header {
        padding: 20px 12px;
    }
    
    .tc-avatar-header h2 {
        font-size: 16px;
    }
    
    .tc-avatar-description {
        font-size: 13px;
        line-height: 20px;
    }
    
    .tc-challenge-name {
        font-size: 20px;
    }
    
    .tc-challenge-description {
        font-size: 14px;
    }
    
    .tc-account-size-amount {
        font-size: 20px;
    }
    
    .tc-suggested-addons h4,
    .tc-avatar-attributes h4 {
        font-size: 16px;
    }
    
    .tc-top-cards-row,
    .tc-bottom-cards-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tc-cta-buttons-row .tc-btn {
        max-width: 100%;
        flex: none;
        font-size: 16px;
        padding: 14px 20px;
        min-height: 50px;
        text-transform: none;
    }
    
    .tc-avatar-cta-section .tc-buy-now-offer {
        font-size: 14px;
        margin-top: 8px;
    }
    
    .tc-promo-offer {
        flex-direction: column;
        gap: 6px;
    }
    
    .tc-promo-text {
        font-size: 14px;
    }
    
    .tc-promo-code {
        font-size: 12px;
        padding: 5px 8px;
    }
    
    .tc-addon-list li {
        font-size: 14px;
    }
    
    .tc-attributes-list li {
        font-size: 14px;
    }

    .tc-suggested-challenge,
    .tc-suggested-account-size,
    .tc-suggested-addons,
    .tc-avatar-attributes {
        padding: 22px;
    }

    .tc-suggested-account-size h4 .tc-account-icon {
        width: 20px;
        height: 20px;
    }

    .tc-account-size-amount {
        font-size: 2em;
    }
    

    
    .tc-addon-list li {
        font-size: 15px;
    }
    
    .tc-attributes-list li {
        font-size: 15px;
    }
    
    .tc-results-header h3 {
        font-size: 20px;
    }
    
    .tc-results-subtitle {
        font-size: 14px;
    }
    
    .tc-progressive-loading {
        padding: 20px 15px;
    }
    
    .tc-loading-header h3 {
        font-size: 1.4em;
    }
    
    .tc-loading-stage {
        padding: 15px;
        gap: 15px;
        flex-direction: row;
        text-align: left;
    }
    
    .tc-stage-icon {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    
    .tc-stage-content {
        flex: 1;
        min-width: 0;
    }
    
    .tc-stage-content h4 {
        font-size: 1em;
        text-align: left;
        margin-bottom: 4px;
    }
    
    .tc-stage-content p {
        font-size: 0.85em;
        text-align: left;
        line-height: 1.3;
    }
    
    .tc-stage-status {
        min-width: 60px;
        flex-shrink: 0;
    }
    

    
    /* Ultra-compact sharing for small mobile */
    .tc-quiz-sharing-compact {
        margin-top: 28px;
    }
    
    .tc-quiz-sharing-compact h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .tc-share-buttons-compact {
        gap: 5px;
    }
    
    .tc-share-btn-compact {
        width: 32px;
        height: 32px;
        padding: 6px;
    }
    
    .tc-share-btn-compact svg {
        width: 12px;
        height: 12px;
    }
} 