.interview-body {

    background:
        #f6f8fc;

}


.interview-header {

    background:
        #ffffff;

    border-bottom:
        1px solid var(--border);

    padding:
        15px 0;

    position:
        sticky;

    top:
        0;

    z-index:
        1000;

}


.interview-main {

    min-height:
        calc(100vh - 130px);

    padding:
        35px 0;

}


/* ==========================================
   INTERVIEW CARD
========================================== */

.interview-card {

    background:
        #ffffff;

    border:
        1px solid var(--border);

    border-radius:
        18px;

    box-shadow:
        var(--shadow);

}


/* ==========================================
   VIDEO
========================================== */

.video-container {

    background:
        #0f172a;

    border-radius:
        16px;

    overflow:
        hidden;

    position:
        relative;

}


.video-container video {

    width:
        100%;

    display:
        block;

    min-height:
        350px;

    object-fit:
        cover;

}


.recording-indicator {

    position:
        absolute;

    top:
        15px;

    left:
        15px;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        7px;

    background:
        rgba(0,0,0,.65);

    color:
        #ffffff;

    padding:
        7px 12px;

    border-radius:
        30px;

    font-size:
        13px;

}


.recording-dot {

    width:
        8px;

    height:
        8px;

    border-radius:
        50%;

    background:
        #ef4444;

    animation:
        recordingPulse 1.2s infinite;

}


@keyframes recordingPulse {

    0% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }

    100% {
        opacity: 1;
    }

}


/* ==========================================
   INTERVIEW PROGRESS
========================================== */

.interview-progress {

    height:
        7px;

    background:
        #e2e8f0;

    border-radius:
        20px;

    overflow:
        hidden;

}


.interview-progress-bar {

    height:
        100%;

    background:
        var(--primary);

    transition:
        width .3s ease;

}


@media (max-width: 767px) {

    .interview-main {

        padding:
            20px 0;

    }

    .video-container video {

        min-height:
            250px;

    }

}
.interview-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 8px;
    background: #ffffff;
    padding: 3px;
}
/* =========================================================
   Interview Start Page
   ========================================================= */

.interview-info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: #f8f9fc;
    border: 1px solid #edf0f5;
    border-radius: 14px;
    height: 100%;
}

.info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: rgba(13, 110, 253, 0.10);
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}


/* =========================================================
   Instructions
   ========================================================= */

.instruction-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.instruction-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.instruction-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: #0d6efd;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}


/* =========================================================
   Device Check
   ========================================================= */

.device-check-box {
    padding: 25px;
    border: 1px solid #e9edf3;
    background: #fbfcfe;
    border-radius: 18px;
}

.device-check-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 13px;
    background: rgba(13, 110, 253, 0.10);
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    margin-right: 15px;
}


/* =========================================================
   Device Status
   ========================================================= */

.device-status-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #e5e9ef;
    border-radius: 14px;
}

.device-status-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    background: #f1f4f8;
    color: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}


/* =========================================================
   Camera Preview
   ========================================================= */

.camera-preview-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    border-radius: 16px;
    background: #111827;
    aspect-ratio: 16 / 9;
}

.camera-preview-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scaleX(-1);
}

.camera-preview-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    padding: 7px 12px;
    border-radius: 30px;
    font-size: 13px;
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767.98px) {

    .device-check-box {
        padding: 18px;
    }

    .interview-info-card {
        padding: 15px;
    }

    .instruction-item {
        gap: 12px;
    }

    .instruction-number {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

}
/* =========================================================
   Interview Room
   ========================================================= */

.interview-room {
    min-height: 100vh;
    background: #f4f7fb;
}


/* =========================================================
   Room Header
   ========================================================= */

.interview-room-header {
    height: 72px;
    background: #ffffff;
    border-bottom: 1px solid #e6eaf0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.interview-room-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 240px;
}

.interview-room-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 8px;
    background: #ffffff;
    padding: 3px;
    border: 1px solid #edf0f4;
}

.room-brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #0d6efd;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.interview-room-brand strong {
    display: block;
    font-size: 14px;
    color: #202733;
}

.interview-room-brand small {
    display: block;
    color: #8993a4;
    font-size: 11px;
    margin-top: 2px;
}


/* =========================================================
   Recording Status
   ========================================================= */

.interview-room-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.room-recording-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: #f1f3f6;
    color: #657080;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

.recording-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8c96a5;
}

.room-recording-status.recording-now {
    background: #fff1f1;
    color: #dc3545;
}

.room-recording-status.recording-now .recording-dot {
    background: #dc3545;
    animation: recordingPulse 1s infinite;
}

@keyframes recordingPulse {

    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.3);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }

}


/* =========================================================
   Timer
   ========================================================= */

.interview-room-actions {
    min-width: 240px;
    display: flex;
    justify-content: flex-end;
}

.room-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #343a40;
}

.room-timer i {
    font-size: 19px;
    color: #0d6efd;
}


/* =========================================================
   Main
   ========================================================= */

.interview-room-main {
    padding: 30px;
}

.interview-room-grid {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(400px, 0.75fr);
    gap: 24px;
}


/* =========================================================
   Video Panel
   ========================================================= */

.interview-video-panel {
    min-width: 0;
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #111827;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.10);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scaleX(-1);
}


/* =========================================================
   Video Overlay
   ========================================================= */

.video-overlay-top {
    position: absolute;
    top: 18px;
    left: 18px;
}

.video-live-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    padding: 7px 11px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.video-live-badge span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #dc3545;
    animation: recordingPulse 1s infinite;
}


/* =========================================================
   Candidate Name
   ========================================================= */

.candidate-video-name {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    padding: 8px 13px;
    border-radius: 20px;
    font-size: 13px;
}


/* =========================================================
   Device Indicators
   ========================================================= */

.video-device-status {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: flex;
    gap: 7px;
}

.video-device-status span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.video-device-status span.device-off {
    background: #dc3545;
}


/* =========================================================
   Video Controls
   ========================================================= */

.video-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 0;
}

.video-control-btn {
    width: 46px;
    height: 46px;
    border: 1px solid #e0e5eb;
    border-radius: 50%;
    background: #ffffff;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s ease;
}

.video-control-btn:hover {
    background: #f1f5f9;
    border-color: #d5dbe3;
}

.video-control-btn.control-disabled {
    background: #f8f9fa;
    color: #dc3545;
}

.video-record-btn {
    min-height: 46px;
    border: 0;
    border-radius: 25px;
    padding: 0 20px;
    background: #ffffff;
    color: #dc3545;
    border: 1px solid #f1c6cb;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.video-record-btn:hover {
    background: #fff5f5;
}

.video-record-btn.recording-active {
    background: #dc3545;
    color: #ffffff;
    border-color: #dc3545;
}


/* =========================================================
   Question Panel
   ========================================================= */

.interview-question-panel {
    background: #ffffff;
    border-radius: 18px;
    min-height: 100%;
    padding: 30px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
}

.question-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.question-panel-header h4 {
    color: #202733;
}

.question-progress-text {
    font-weight: 700;
    color: #0d6efd;
}


/* =========================================================
   Question Progress
   ========================================================= */

.question-progress {
    width: 100%;
    height: 7px;
    background: #edf1f5;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

.question-progress-bar {
    height: 100%;
    background: #0d6efd;
    border-radius: 10px;
    transition: width 0.3s ease;
}


/* =========================================================
   Question Content
   ========================================================= */

.question-content {
    flex: 1;
    padding: 55px 10px 30px;
}

.question-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eef5ff;
    color: #0d6efd;
    padding: 7px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 25px;
}

.question-text {
    font-size: 28px;
    line-height: 1.45;
    font-weight: 600;
    color: #202733;
}


/* =========================================================
   Navigation
   ========================================================= */

.question-navigation {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #edf0f4;
}


/* =========================================================
   Finish
   ========================================================= */

.finish-interview-area {
    text-align: center;
    padding-top: 25px;
}

.finish-interview-area button {
    font-size: 13px;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {

    .interview-room-grid {
        grid-template-columns: 1fr;
    }

    .interview-question-panel {
        min-height: 500px;
    }

    .question-text {
        font-size: 24px;
    }

}


@media (max-width: 767.98px) {

    .interview-room-header {
        height: auto;
        min-height: 65px;
        padding: 12px 15px;
        gap: 10px;
    }

    .interview-room-brand {
        min-width: 0;
    }

    .interview-room-brand strong {
        max-width: 150px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .interview-room-center {
        display: none;
    }

    .interview-room-actions {
        min-width: auto;
    }

    .interview-room-main {
        padding: 15px;
    }

    .interview-room-grid {
        gap: 15px;
    }

    .video-container {
        border-radius: 14px;
    }

    .interview-question-panel {
        padding: 20px;
        border-radius: 14px;
    }

    .question-content {
        padding: 35px 5px 25px;
    }

    .question-text {
        font-size: 21px;
    }

    .video-controls {
        padding: 12px 0;
    }

    .video-record-btn {
        padding: 0 15px;
    }

}
body {
    background:
        radial-gradient(
            circle at 0% 0%,
            rgba(59, 130, 246, 0.18),
            transparent 30%
        ),
        radial-gradient(
            circle at 100% 0%,
            rgba(139, 92, 246, 0.18),
            transparent 30%
        ),
        radial-gradient(
            circle at 50% 100%,
            rgba(14, 165, 233, 0.12),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #f7fbff,
            #eef4ff 50%,
            #f8f1ff
        );

    min-height: 100vh;
}

.interview-room,
.interview-container,
.interview-dashboard {
    background: transparent;
}

.interview-card {
    background: rgba(255,255,255,.90);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,.8);
    box-shadow:
        0 20px 50px rgba(37,99,235,.10);
}

.interview-room-header {
    background:
        linear-gradient(
            135deg,
            #312e81,
            #2563eb,
            #0891b2
        );
}

.recording-upload-section {
    padding: 20px;
    border-radius: 16px;
    background:
        linear-gradient(
            135deg,
            rgba(239,246,255,.95),
            rgba(245,243,255,.95)
        );
    border: 1px solid rgba(99,102,241,.12);
}

.recording-upload-section h5 {
    font-weight: 700;
}

.finish-interview-area {
    padding-top: 10px;
}