:root {
    --bg-color: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent-1: #2563eb;
    --card-border: #e2e8f0;
    --success: #10b981;
    --creative-bg: #fefce8;
    --creative-border: #fde68a;
    --creative-badge-bg: #fef3c7;
    --creative-badge-text: #92400e;
}

body.feedback-body {
    background-color: #f1f5f9;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Navbar --- */
.navbar-minimal {
    margin-bottom: 0;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: white;
    border-bottom: 1px solid var(--card-border);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.progress-bar-container {
    width: 120px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--success);
    width: 0%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Interview Container --- */
.interview-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

/* --- Question Card --- */
.question-card {
    background: white;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2.5rem;
    width: 100%;
    max-width: 620px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    position: absolute;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.question-card.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

.question-card.exiting {
    opacity: 0;
    transform: translateY(-20px);
}

/* --- Creative Card Variant --- */
.creative-card {
    background: var(--creative-bg);
    border-color: var(--creative-border);
}

/* --- Badges --- */
.badge {
    display: inline-block;
    background: #eff6ff;
    color: var(--accent-1);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}

.badge-creative {
    background: var(--creative-badge-bg);
    color: var(--creative-badge-text);
}

.required-label {
    font-size: 0.7rem;
    color: #ea580c;
    background: #fff7ed;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Typography --- */
h2 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    line-height: 1.4;
}

h3.sub-question {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.text-secondary {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* --- Action Row --- */
.action-row {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    align-items: center;
}

.btn-ghost {
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: 1px solid var(--card-border);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-ghost:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background-color: #cbd5e1 !important;
    color: #64748b !important;
    border-color: #cbd5e1 !important;
    box-shadow: none !important;
}

.btn-success {
    background: var(--success) !important;
}

.btn-success:hover {
    background: #059669 !important;
}

/* --- Chip Group --- */
.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.chip-group.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.chip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: white;
    border: 1px solid var(--card-border);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.chip:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.chip.selected {
    background: var(--accent-1);
    color: white;
    border-color: var(--accent-1);
}

/* --- Radio Group --- */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.radio-group.compact .radio-content {
    padding: 0.7rem 1rem;
}

.radio-card {
    cursor: pointer;
    position: relative;
}

.radio-card input {
    position: absolute;
    opacity: 0;
}

.radio-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    transition: all 0.2s;
}

.radio-card:hover .radio-content {
    background: #f8fafc;
}

input:checked + .radio-content {
    border-color: var(--accent-1);
    background: #eff6ff;
}

.emoji {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.radio-text strong {
    display: block;
    font-size: 0.875rem;
}

.radio-text span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* --- Slider --- */
.input-modern {
    margin-bottom: 0.5rem;
}

.range-slider {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    appearance: none;
    cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
    appearance: none;
    width: 22px;
    height: 22px;
    background: var(--accent-1);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.slider-value {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-1);
    margin-top: 0.75rem;
}

/* --- Textarea & Inputs --- */
.input-label-above {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    background: #fff;
    transition: all 0.2s;
    min-height: 70px;
    resize: vertical;
}

.creative-card textarea {
    background: #fffef5;
    border-color: var(--creative-border);
}

textarea:focus {
    outline: none;
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.creative-card textarea:focus {
    border-color: #d97706;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.optional-comment {
    margin-top: 1.5rem;
    border-top: 1px solid var(--card-border);
    padding-top: 1.25rem;
}

.creative-card .optional-comment {
    border-top-color: var(--creative-border);
}

.optional-comment label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* --- Emoji Picker --- */
.emoji-picker {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 2rem 0;
}

.emoji-btn {
    font-size: 2.5rem;
    padding: 0.75rem;
    background: white;
    border: 2px solid var(--card-border);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emoji-btn:hover {
    transform: scale(1.15);
    border-color: #cbd5e1;
}

.emoji-btn.selected {
    border-color: var(--accent-1);
    background: #eff6ff;
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* --- Media Container (Screenshots) --- */
.media-container {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid var(--card-border);
}

.screenshot {
    width: 100%;
    height: auto;
    display: block;
    max-height: 240px;
    object-fit: cover;
    object-position: top;
}

/* --- Responsive --- */
@media (max-width: 640px) {
    .question-card {
        padding: 1.75rem 1.25rem;
    }

    .chip-group.grid {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 1.2rem;
    }

    .emoji-btn {
        font-size: 2rem;
        width: 52px;
        height: 52px;
    }

    .progress-bar-container {
        width: 80px;
    }

    .section-label {
        display: none;
    }

    .nav-right {
        gap: 0.5rem;
    }
}

@media (max-width: 380px) {
    .emoji-picker {
        gap: 0.4rem;
    }

    .emoji-btn {
        font-size: 1.75rem;
        width: 46px;
        height: 46px;
        padding: 0.5rem;
    }
}
