@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@300;400;500;600;700;800&display=swap');

.quiz-49eb4fb8-container {
    width: 100%;
    max-width: 600px;
    margin: 40px auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #1f2937;
}

.quiz-49eb4fb8-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    padding: 32px;
    text-align: center;
    border: 1px solid #f3f4f6;
}

.quiz-49eb4fb8-hero-image-holder {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quiz-49eb4fb8-start-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.quiz-49eb4fb8-icon-hero {
    font-size: 48px;
    color: #4F46E5;
    margin-bottom: 16px;
}

.quiz-49eb4fb8-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111827;
}

.quiz-49eb4fb8-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Form Styles */
.quiz-49eb4fb8-contact-form {
    text-align: left;
    margin-top: 20px;
}

.quiz-49eb4fb8-form-group {
    margin-bottom: 16px;
}

.quiz-49eb4fb8-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
}

.quiz-49eb4fb8-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: 'Alexandria', sans-serif;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background-color: #f9fafb;
    color: #111827;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.quiz-49eb4fb8-input:focus {
    outline: none;
    background-color: #ffffff;
    border-color: #4F46E5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.quiz-49eb4fb8-form-error {
    color: #ef4444;
    font-size: 14px;
    font-weight: 500;
    margin: 12px 0;
    text-align: center;
}

.quiz-49eb4fb8-btn {
    display: inline-block;
    background-color: #4F46E5;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 32px;
    width: 100%;
    border-radius: 50px !important;
    border-top: 0px solid transparent !important;
    border-left: 0px solid transparent !important;
    border-bottom: 3px solid #111827 !important;
    border-right: 3px solid #111827 !important;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.quiz-49eb4fb8-btn:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.quiz-49eb4fb8-btn:active {
    transform: translateY(1px);
}

/* Alexandria Font overrides */
.quiz-49eb4fb8-button-font,
.quiz-49eb4fb8-btn,
.quiz-49eb4fb8-copy-coupon-btn,
.quiz-49eb4fb8-option {
    font-family: 'Alexandria', sans-serif !important;
}

.quiz-49eb4fb8-description-font,
.quiz-49eb4fb8-subtitle,
.quiz-49eb4fb8-final-score-text,
.quiz-49eb4fb8-coupon-box p,
.quiz-49eb4fb8-coupon-hint,
.quiz-49eb4fb8-progress,
.quiz-49eb4fb8-timer {
    font-family: 'Alexandria', sans-serif !important;
}

.quiz-49eb4fb8-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 12px;
}

.quiz-49eb4fb8-timer {
    color: #ef4444;
}

.quiz-49eb4fb8-timer-wrapper {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 24px;
}

.quiz-49eb4fb8-timer-bar {
    height: 100%;
    width: 100%;
    background-color: #4F46E5;
    transition: width 0.1s linear;
}

.quiz-49eb4fb8-media-holder {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto 20px auto;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiz-49eb4fb8-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quiz-49eb4fb8-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.quiz-49eb4fb8-option {
    background: #ffffff;
    color: #1f2937;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    padding: 16px 24px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    outline: none;
}

.quiz-49eb4fb8-option:hover:not(:disabled),
.quiz-49eb4fb8-option:active:not(:disabled),
.quiz-49eb4fb8-option.selected {
    background-color: #EC611E !important;
    color: #FFFFFF !important;
    border-color: #EC611E !important;
}

.quiz-49eb4fb8-option:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.quiz-49eb4fb8-score-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    border: 4px solid #10b981;
}

.quiz-49eb4fb8-score-pct {
    font-size: 24px;
    font-weight: 800;
    color: #10b981;
}

.quiz-49eb4fb8-coupon-box {
    background: rgba(16, 185, 129, 0.05);
    border: 2px dashed #10b981;
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
}

.quiz-49eb4fb8-coupon-title {
    font-size: 18px;
    font-weight: 700;
    color: #047857;
    margin-bottom: 6px;
}

.quiz-49eb4fb8-coupon-code-container {
    display: flex;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    max-width: 320px;
    margin: 12px auto 0;
}

.quiz-49eb4fb8-coupon-code-val {
    flex-grow: 1;
    font-family: monospace;
    font-weight: bold;
    font-size: 18px;
    padding: 10px;
    background: #f9fafb;
    color: #111827;
}

.quiz-49eb4fb8-copy-coupon-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 0 16px;
    font-weight: 600;
    cursor: pointer;
}

.quiz-49eb4fb8-copy-coupon-btn:hover {
    background: #059669;
}

.quiz-49eb4fb8-coupon-fail-msg {
    margin: 20px 0;
}

.quiz-49eb4fb8-coupon-hint {
    color: #ef4444;
    font-size: 14px;
    font-weight: 500;
}

/* Answers Breakdown Box styling at end screen */
.quiz-49eb4fb8-answers-breakdown-wrapper {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    text-align: left;
}

.quiz-49eb4fb8-breakdown-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.quiz-49eb4fb8-answers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-49eb4fb8-answer-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
}

.quiz-49eb4fb8-answer-img-holder {
    width: 100%;
    max-height: 140px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiz-49eb4fb8-answer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quiz-49eb4fb8-answer-q-text {
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    margin-bottom: 6px;
}

.quiz-49eb4fb8-answer-user-choice {
    font-size: 13px;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quiz-49eb4fb8-answer-user-choice.correct {
    color: #059669;
    font-weight: 500;
}

.quiz-49eb4fb8-answer-user-choice.incorrect {
    color: #dc2626;
    font-weight: 500;
}

.quiz-49eb4fb8-answer-correct-reveal {
    font-size: 12px;
    color: #059669;
    margin-top: 4px;
}

.quiz-49eb4fb8-alert {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    color: #b45309;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.quiz-49eb4fb8-hidden {
    display: none !important;
}
