@import url("/css/theme-shell-74cdd4fc16ec895ec40ddcee6f7884c1.css");

.interview-page {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.interview-active-sessions {
    background: #11171D;
    border: 1px solid rgba(71, 85, 105, 0.22);
    border-radius: 16px;
    padding: 20px 24px;
}

.interview-active-sessions__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.interview-active-sessions__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.interview-active-sessions__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(71, 85, 105, 0.28);
    background: #0B1016;
}

.interview-active-sessions__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 14px;
    border-radius: 8px;
    background: #7543F4;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.15s ease;
}

.interview-active-sessions__cta:hover {
    background: #6335D8;
}

.interview-hero {
    max-width: 820px;
}

.interview-title {
    font-size: 42px;
    line-height: 1.1;
    color: #FFFFFF;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.interview-lead {
    margin-top: 14px;
    font-size: 15.5px;
    line-height: 1.75;
    color: #98A2B0;
    max-width: 720px;
}

.interview-section,
.interview-summary-card {
    background: #11171D;
    border: 1px solid rgba(71, 85, 105, 0.22);
    border-radius: 16px;
}

.interview-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.interview-builder {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.interview-section {
    padding: 28px;
}

.interview-section-header {
    margin-bottom: 20px;
}

.interview-section-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    color: #FFFFFF;
    font-weight: 600;
}

.interview-topic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.interview-difficulty-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.interview-topic-card,
.interview-difficulty-card {
    cursor: pointer;
}

.interview-topic-card-inner,
.interview-difficulty-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(71, 85, 105, 0.28);
    background: transparent;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.interview-topic-card:hover .interview-topic-card-inner,
.interview-difficulty-card:hover {
    border-color: rgba(148, 163, 184, 0.35);
}

.interview-topic-checkbox:checked + .interview-topic-card-inner,
.interview-difficulty-card:has(input:checked) {
    border-color: rgba(117, 67, 244, 0.55);
    background: rgba(117, 67, 244, 0.06);
}

.interview-topic-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.interview-topic-content,
.interview-difficulty-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.interview-topic-title,
.interview-difficulty-title {
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
}

.interview-topic-subtitle,
.interview-difficulty-text,
.interview-topic-count {
    color: #94A3B8;
    font-size: 12px;
    line-height: 1.5;
}

.interview-topic-check {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid rgba(71, 85, 105, 0.55);
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
    background: transparent;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.interview-topic-checkbox:checked + .interview-topic-card-inner .interview-topic-check,
.interview-difficulty-card:has(input:checked) .interview-topic-check {
    color: #FFFFFF;
    border-color: #7543F4;
    background: #7543F4;
}

.interview-difficulty-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    flex-shrink: 0;
}

.interview-difficulty-easy .interview-difficulty-dot {
    background: #34B95B;
}

.interview-difficulty-medium .interview-difficulty-dot {
    background: #FBBF24;
}

.interview-difficulty-hard .interview-difficulty-dot {
    background: #F87171;
}

.interview-sliders {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.interview-slider-card {
    border-radius: 12px;
    border: 1px solid rgba(71, 85, 105, 0.28);
    background: transparent;
    padding: 16px;
}

.interview-slider-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 14px;
    color: #CBD5E1;
    font-size: 14px;
}

.interview-slider-header strong {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
}

.interview-slider-card input[type="range"] {
    width: 100%;
    accent-color: #7543F4;
}

.interview-slider-scale {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    color: #64748B;
    font-size: 12px;
}

.interview-sidebar {
    position: sticky;
    top: 92px;
}

.interview-summary-card {
    padding: 24px;
}

.interview-summary-header {
    margin-bottom: 20px;
}

.interview-summary-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.interview-summary-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    color: #94A3B8;
    font-size: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(71, 85, 105, 0.18);
}

.interview-summary-list li:first-child {
    padding-top: 0;
}

.interview-summary-list li strong {
    color: #FFFFFF;
    text-align: right;
    font-weight: 500;
}

.interview-mentor-card {
    margin-top: 20px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(71, 85, 105, 0.22);
    background: transparent;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.interview-mentor-title {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.interview-mentor-text,
.interview-mentor-meta {
    color: #94A3B8;
    font-size: 13px;
    line-height: 1.6;
}

.interview-mentor-meta {
    margin-top: 14px;
}

.interview-switch {
    position: relative;
    width: 42px;
    height: 24px;
    cursor: pointer;
    flex-shrink: 0;
}

.interview-switch input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.interview-switch-track {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(71, 85, 105, 0.45);
    transition: background 0.2s ease;
}

.interview-switch-track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #FFFFFF;
    transition: transform 0.2s ease;
}

.interview-switch input:checked + .interview-switch-track {
    background: #7543F4;
}

.interview-switch input:checked + .interview-switch-track::after {
    transform: translateX(18px);
}

.interview-switch.is-disabled {
    opacity: 0.55;
}

.interview-launch-button,
.interview-secondary-link {
    width: 100%;
    margin-top: 16px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.interview-launch-button i {
    position: relative;
    top: 0.1em;
}

.interview-launch-button {
    min-height: 48px;
    border: none;
    background: #7543F4;
    color: #FFFFFF;
    cursor: pointer;
}

.interview-launch-button:hover:not(:disabled) {
    background: #6335D8;
}

.interview-launch-button.is-locked,
.interview-launch-button:disabled {
    background: #1A222B;
    color: #64748B;
    cursor: not-allowed;
}

.interview-secondary-link {
    min-height: 44px;
    border: 1px solid rgba(117, 67, 244, 0.35);
    color: #C4B5FD;
    background: transparent;
}

.interview-secondary-link:hover {
    color: #E9D5FF;
    border-color: rgba(117, 67, 244, 0.55);
}

.interview-view-code-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: none;
    background: transparent;
    color: #A78BFA;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.15s ease;
}

.interview-view-code-btn i {
    position: relative;
    top: 0.1em;
}

.interview-view-code-btn:hover {
    color: #C4B5FD;
}

.interview-code-modal-panel {
    min-height: 240px;
}

.interview-code-modal-header {
    flex-shrink: 0;
}

.interview-code-modal-title-link.is-disabled {
    pointer-events: none;
    cursor: default;
}

.interview-code-modal-pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    color: #CBD5E1;
}

.interview-code-hl,
.interview-code-hl .tok {
    font: inherit;
    color: inherit;
}

.interview-code-hl .tok-keyword {
    color: #C4B5FD;
}

.interview-code-hl .tok-type {
    color: #7DD3FC;
}

.interview-code-hl .tok-string {
    color: #86EFAC;
}

.interview-code-hl .tok-number {
    color: #F9A8D4;
}

.interview-code-hl .tok-comment {
    color: #64748B;
    font-style: italic;
}

.interview-code-hl .tok-punct {
    color: #94A3B8;
}

.interview-code-hl .tok-ident {
    color: #E2E8F0;
}

@media (max-width: 1180px) {
    .interview-layout {
        grid-template-columns: 1fr;
    }

    .interview-sidebar {
        position: static;
    }
}

@media (max-width: 900px) {
    .interview-topic-grid,
    .interview-difficulty-grid,
    .interview-sliders {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-interview .interview-page {
        gap: 28px;
    }

    .page-interview main {
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 24px;
        padding-bottom: 32px;
    }

    .page-interview .interview-title,
    .page-interview main h1 {
        font-size: 24px;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .page-interview .interview-lead {
        margin-top: 10px;
        font-size: 14px;
    }

    .page-interview .interview-section-title {
        font-size: 18px;
    }

    .page-interview .interview-section,
    .page-interview .interview-summary-card,
    .page-interview .interview-active-sessions {
        padding: 16px;
        border-radius: 14px;
    }

    .page-interview .interview-active-sessions__header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .page-interview .interview-active-sessions__item {
        flex-wrap: wrap;
        align-items: stretch;
        gap: 12px;
    }

    .page-interview .interview-active-sessions__item > div {
        min-width: 0;
        flex: 1 1 160px;
    }

    .page-interview .interview-active-sessions__cta {
        width: 100%;
        height: 40px;
    }

    .page-interview .interview-topic-card-inner,
    .page-interview .interview-difficulty-card {
        align-items: flex-start;
        padding: 12px 12px;
        gap: 10px;
    }

    .page-interview .interview-topic-title,
    .page-interview .interview-difficulty-title,
    .page-interview .interview-topic-subtitle,
    .page-interview .interview-difficulty-text {
        overflow-wrap: anywhere;
    }

    .page-interview .interview-topic-check {
        margin-top: 2px;
    }

    .page-interview .interview-slider-header {
        flex-wrap: wrap;
        gap: 8px;
        align-items: flex-start;
    }

    .page-interview .interview-slider-header strong {
        white-space: nowrap;
    }

    .page-interview .interview-summary-list li {
        align-items: flex-start;
        gap: 12px;
    }

    .page-interview .interview-summary-list li span {
        flex-shrink: 0;
    }

    .page-interview .interview-summary-list li strong {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .page-interview .interview-mentor-card {
        align-items: flex-start;
        gap: 12px;
    }

    .page-interview .interview-switch {
        margin-top: 2px;
    }

    .page-interview .interview-launch-button,
    .page-interview .interview-secondary-link {
        min-height: 48px;
        height: auto;
        padding: 12px 14px;
        white-space: normal;
        text-align: center;
        line-height: 1.35;
    }

    .page-interview .interview-result-card {
        padding: 20px 16px;
    }

    .page-interview .interview-result-actions a {
        flex: 1 1 100%;
        justify-content: center;
    }

    .page-interview #aiInterviewFeedbackBtn {
        width: 100%;
    }
}

html[data-theme="light"] .page-interview .interview-title,
html[data-theme="light"] .page-interview .interview-section-title,
html[data-theme="light"] .page-interview .interview-topic-title,
html[data-theme="light"] .page-interview .interview-difficulty-title,
html[data-theme="light"] .page-interview .interview-slider-header strong,
html[data-theme="light"] .page-interview .interview-summary-list li strong,
html[data-theme="light"] .page-interview .interview-mentor-title {
    color: #222222;
}

html[data-theme="light"] .page-interview .interview-lead,
html[data-theme="light"] .page-interview .interview-topic-subtitle,
html[data-theme="light"] .page-interview .interview-difficulty-text,
html[data-theme="light"] .page-interview .interview-topic-count,
html[data-theme="light"] .page-interview .interview-slider-header,
html[data-theme="light"] .page-interview .interview-slider-scale,
html[data-theme="light"] .page-interview .interview-summary-list li,
html[data-theme="light"] .page-interview .interview-mentor-text,
html[data-theme="light"] .page-interview .interview-mentor-meta {
    color: #525252;
}

html[data-theme="light"] .page-interview .interview-active-sessions,
html[data-theme="light"] .page-interview .interview-section,
html[data-theme="light"] .page-interview .interview-summary-card {
    background: #ffffff;
    border-color: var(--jc-border);
}

html[data-theme="light"] .page-interview .interview-active-sessions__item {
    background: #F8F9FB;
    border-color: var(--jc-border);
}

html[data-theme="light"] .page-interview .interview-topic-card-inner,
html[data-theme="light"] .page-interview .interview-difficulty-card,
html[data-theme="light"] .page-interview .interview-slider-card,
html[data-theme="light"] .page-interview .interview-mentor-card {
    border-color: var(--jc-border);
    background: #ffffff;
}

html[data-theme="light"] .page-interview .interview-topic-card:hover .interview-topic-card-inner,
html[data-theme="light"] .page-interview .interview-difficulty-card:hover {
    border-color: rgba(117, 67, 244, 0.35);
    background: rgba(117, 67, 244, 0.04);
}

html[data-theme="light"] .page-interview .interview-topic-checkbox:checked + .interview-topic-card-inner,
html[data-theme="light"] .page-interview .interview-difficulty-card:has(input:checked) {
    border-color: rgba(117, 67, 244, 0.55);
    background: rgba(117, 67, 244, 0.08);
}

html[data-theme="light"] .page-interview .interview-topic-check {
    border-color: #D1D5DB;
}

html[data-theme="light"] .page-interview .interview-topic-checkbox:checked + .interview-topic-card-inner .interview-topic-check,
html[data-theme="light"] .page-interview .interview-difficulty-card:has(input:checked) .interview-topic-check {
    color: #ffffff;
    border-color: #7543F4;
    background: #7543F4;
}

html[data-theme="light"] .page-interview .interview-summary-list li {
    border-bottom-color: var(--jc-border);
}

html[data-theme="light"] .page-interview .interview-switch-track {
    background: #E5E7EB;
}

html[data-theme="light"] .page-interview .interview-switch input:checked + .interview-switch-track {
    background: #7543F4;
}

html[data-theme="light"] .page-interview .interview-launch-button {
    color: #ffffff;
}

html[data-theme="light"] .page-interview .interview-launch-button.is-locked,
html[data-theme="light"] .page-interview .interview-launch-button:disabled {
    background: #F3F4F6;
    color: #6B7280;
}

html[data-theme="light"] .page-interview .interview-secondary-link {
    color: #7543F4;
    border-color: rgba(117, 67, 244, 0.4);
    background: #ffffff;
}

html[data-theme="light"] .page-interview .interview-secondary-link:hover {
    color: #6335D8;
    border-color: #7543F4;
    background: rgba(117, 67, 244, 0.06);
}

html[data-theme="light"] .page-interview .interview-active-sessions__cta {
    color: #ffffff;
}

html[data-theme="light"] .page-interview .ai-interview-feedback-body {
    color: #222222;
}

html[data-theme="light"] .page-interview .text-\[\#34B95B\] {
    color: #047857;
}

html[data-theme="light"] .page-interview .text-\[\#FBBF24\] {
    color: #B45309;
}

html[data-theme="light"] .page-interview a.border-gray-800 {
    color: #7543F4;
    border-color: rgba(117, 67, 244, 0.4);
    background: #ffffff;
}

html[data-theme="light"] .page-interview a.border-gray-800:hover {
    color: #6335D8;
    border-color: #7543F4;
}

html[data-theme="light"] .page-interview .interview-view-code-btn {
    color: #7543F4;
}

html[data-theme="light"] .page-interview .interview-view-code-btn:hover {
    color: #6335D8;
}

html[data-theme="light"] .page-interview .interview-code-modal-title-link {
    color: #222222;
}

html[data-theme="light"] .page-interview .interview-code-modal-title-link:hover {
    color: #7543F4;
}

html[data-theme="light"] .page-interview .interview-code-modal-body {
    background: #F8FAFC;
    border-color: #E5E7EB;
}

html[data-theme="light"] .page-interview .interview-code-modal-pre {
    color: #1F2937;
}

html[data-theme="light"] .page-interview .interview-code-hl .tok-keyword {
    color: #6D28D9;
}

html[data-theme="light"] .page-interview .interview-code-hl .tok-type {
    color: #0369A1;
}

html[data-theme="light"] .page-interview .interview-code-hl .tok-string {
    color: #15803D;
}

html[data-theme="light"] .page-interview .interview-code-hl .tok-number {
    color: #BE185D;
}

html[data-theme="light"] .page-interview .interview-code-hl .tok-comment {
    color: #6B7280;
}

html[data-theme="light"] .page-interview .interview-code-hl .tok-punct {
    color: #4B5563;
}

html[data-theme="light"] .page-interview .interview-code-hl .tok-ident {
    color: #111827;
}

html[data-theme="light"] .page-interview .profile-modal-panel [data-interview-code-close] {
    color: #6B7280;
}

html[data-theme="light"] .page-interview .profile-modal-panel [data-interview-code-close]:hover {
    color: #222222;
    background: #F3F4F6;
}

/* Pill buttons */
.page-interview :is(.interview-launch-button, .interview-secondary-link, .interview-active-sessions__cta, .interview-result-actions a) {
    border-radius: 999px;
}
