/* ====================== dashboard ====================== */
/* Match r1.html demo: min-h-screen bg-background, max-w-7xl centered layout */
*, ::before, ::after {
    box-sizing: border-box;
}

.main {
    min-height: 100vh;
    padding-top: 65px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: hsl(var(--background));
}

@media (max-width: 600px) {
    .main {
        margin-top: 90px;
    }
}

/* Main content wrapper - match r1: max-w-7xl mx-auto p-6 space-y-6 */
.main-content-wrapper {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

a {
    text-decoration: none;
}


.hr {
    border: 1px solid hsl(var(--border));
    margin: 15px 50px;
}

.report-tabs-spacer {
    --tw-space-y-reverse: 0;
    margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}

/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #d9d9d9;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.btn-type1 {
    font-weight: 500;
    font-size: var(--font-base);
    line-height: 20px;
    border-radius: var(--radius);
    color: hsl(var(--primary));
    background-color: hsl(var(--card));
    width: 100%;
}

.btn-type1:hover {
    color: hsl(var(--primary-foreground));
    background-color: hsl(var(--primary));
}

.btn-type2 {
    font-weight: 500;
    font-size: var(--font-base);
    line-height: 1.25;
    border-radius: var(--radius);
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border: 1px solid hsl(var(--primary));
    width: 100%;
}

.btn-type2:hover {
    background-color: hsl(var(--card));
    color: hsl(var(--primary));
}

.btn-type3 {
    font-weight: 500;
    font-size: var(--font-base);
    line-height: 18px;
    border-radius: var(--radius);
    color: hsl(var(--primary));
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--primary));
    width: 100%;
}

.btn-type3:hover {
    color: hsl(var(--primary-foreground));
    background-color: hsl(var(--primary));
}

.btn-type4 {
    font-weight: 500;
    font-size: var(--font-base);
    line-height: 20px;
    border-radius: 5px;
    color: #21252999;
    background-color: #ffffff;
    border: 1px solid #21252999;
    width: 100%;
}

.btn-type4:hover {
    color: #ffffff;
    background-color: #21252999;
}


/* Consistent content boundaries - left and right align across all sections */
:root {
    --report-content-x: 25px;
    --report-section-border: 1px solid hsl(var(--border));
    --report-section-radius: 0.75rem;
    --report-section-padding: 1.5rem;
    --report-section-gap: 1.5rem;
}

/* Top section - previous version: margin, no outer border */
.sub-main {
    background-color: hsl(var(--card));
    border-radius: calc(var(--radius) * 2);
    margin: 0 40px;
    padding: 20px 0;
}

/* All main sections use same horizontal padding for consistent left/right borders */
.sub-main > .container-fluid {
    padding-left: var(--report-content-x) !important;
    padding-right: var(--report-content-x) !important;
}

@media (max-width: 450px) {
    .sub-main {
        margin: 0 10px;
        padding: 20px 0;
        border-radius: 10px;
    }
}

.heading-2 {
    font-weight: 600;
    font-size: 18px;
    color: hsl(var(--foreground));
    margin-bottom: 15px;
}


@media (max-width:450px) {
    .sub-main {
        background-color: hsl(var(--card));
        border-radius: 10px;
        margin: 0 10px;
        padding: 20px 0;
    }
}

.live-stream {
    padding: 0px 25px;
}

/* Live Stream tab – video container */
.live-stream-tab {
    min-height: 500px;
}

/* Interview Video tab only – extra top spacing so content doesn't touch tab bar */
#ex3-tabs-1 {
    padding-top: 1.5rem;
}

.live-stream-video-wrap {
    background-color: hsl(var(--muted));
    border-radius: calc(var(--radius) * 1.5);
    box-shadow: none;
    overflow: hidden;
    border: 1px solid hsl(var(--border));
}

.live-stream-video-wrap iframe {
    display: block;
    border: none;
    border-radius: 12px;
}

.live-stream-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.live-stream-actions .ifr-videos-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.live-stream-actions .ifr-videos-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.live-stream-actions .ifr-videos-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.candidate-details {
    padding: 0;
}

.report-summary-panel {
    padding: 0;
}

/* Space between Candidate Details and Report Summary */
.report-details-row {
    --bs-gutter-x: 2rem;
}

/* Align column edges with container - no extra inset on first/last columns */
.report-details-row > .candidate-details {
    padding-left: 0;
    padding-right: 1rem;
}

.report-details-row > .report-summary-panel {
    padding-left: 1rem;
    padding-right: 0;
}

/* Extra vertical space when Report Summary stacks below Candidate Details */
@media (max-width: 1199.98px) {
    .report-details-row > .candidate-details {
        padding-right: 0;
    }
    .report-details-row > .report-summary-panel {
        padding-left: 0;
        margin-top: 1.5rem !important;
    }
}

/* Previous version: report summary panel */
.report-summary-panel .report_summary {
    /*    background: #ffffff;
        box-shadow: 0px 1px 10px #00000026;
        border-radius: 10px;
        padding: 20px;*/
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    background-color: hsl(var(--card));
    box-shadow: none;
    border-radius: calc(var(--radius) * 2);
    border: 1px solid hsl(var(--border));
}

@media (max-width:600px) {
    .candidate-details {
        margin-top: 25px !important;
    }
}

@media (max-width:768px) {
    .live-stream-video-wrap iframe {
        min-height: 320px;
    }
}

@media (max-width:450px) {
    .live-stream .heading-2 {
        text-align: center;
    }

    .live-stream {
        padding: 0px 15px;
    }

    .live-stream-video-wrap {
        border-radius: 8px;
    }

    .live-stream-video-wrap iframe {
        min-height: 260px;
    }

    .live-stream-actions {
        flex-wrap: wrap;
        gap: 8px;
    }

    .candidate-details .heading-2 {
        text-align: center;
    }

    /* Consistent boundaries on mobile */
    .sub-main > .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}


/* Previous version: card with subtle shadow - unified section styling */
.candidate-details form {
    background-color: hsl(var(--card));
    box-shadow: none;
    border-radius: var(--report-section-radius);
    padding: var(--report-section-padding);
    border: var(--report-section-border);
}

@media (max-width: 450px) {
    .candidate-details form {
        background: #ffffff;
        box-shadow: none;
        border-radius: var(--report-section-radius);
        padding: var(--report-section-padding);
    }
}

.form-control {
    font-size: 0.875rem !important;
    line-height: 1.25rem;
    font-weight: 400;
    color: hsl(var(--foreground));
    border-color: hsl(var(--input));
    background-color: hsl(var(--card));
}

.candidate-details .form-control {
    color: hsl(var(--foreground));
}

/* Interview Verdict: Bootstrap button colors when used with form-control cverdict */
.form-control.cverdict.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}
.form-control.cverdict.btn-success {
    background-color: #198754;
    border-color: #198754;
    color: #fff;
}
.form-control.cverdict.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
}
.form-control.cverdict.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}
.form-control.cverdict.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

input::placeholder,
textarea::placeholder {
    color: hsl(var(--muted-foreground));
}
textarea:focus,
textarea.form-control:focus,
input.form-control:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=number]:focus,
[type=text].form-control:focus,
[type=password].form-control:focus,
[type=email].form-control:focus,
[type=tel].form-control:focus,
[contenteditable].form-control:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px hsl(var(--ring) / 0.3);
    border-color: hsl(var(--ring));
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

input[type=date]:required:invalid::-webkit-datetime-edit {
    color: transparent;
}

input[type=date]:focus::-webkit-datetime-edit {
    color: black !important;
}

input[type=time]:required:invalid::-webkit-datetime-edit {
    color: transparent;
}

input[type=time]:focus::-webkit-datetime-edit {
    color: black !important;
}

label,
.form-label {
    font-weight: 400;
    font-size: 13px;
    color: hsl(var(--muted-foreground));
    margin: 0 !important;
}

.modal-header {
    border-bottom: none;
}

.modal-footer {
    border-top: none;
}


/* System-assistance note (Behavioral Skills, Technical Skill Summary) - 16px equivalent */
.report-assist-note {
    font-size: 1em !important;
}
.report-assist-note p,
.report-assist-note em {
    font-size: inherit !important;
}

/* Shared section card style - Interview Video, Coding, Question, Screenshot, AI Transcript, AI Summary */
.report-section-card {
    background-color: hsl(var(--card));
    border-radius: 0.75rem;
    border: 1px solid hsl(var(--border));
    padding: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.04);
}

/* Technical Skills section - reference design */
.bg-report-teal { background-color: hsl(var(--report-teal)) !important; }
.bg-report-teal-light { background-color: hsl(var(--report-teal-light)) !important; }
.text-report-teal { color: hsl(var(--report-teal)) !important; }
.text-report-comment { color: hsl(var(--report-comment)) !important; }
.text-primary-foreground { color: hsl(var(--primary-foreground)) !important; }

.tech-skills-card {
    /* inherits from report-section-card */
}
.tech-skills-chart-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.tech-skills-chart-inner {
    width: 240px;
    height: 240px;
}
.tech-skills-chart-inner canvas {
    width: 100% !important;
    height: 100% !important;
}
.tech-skills-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}
.tech-skills-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}
.tech-skills-legend-color {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 0.25rem;
    flex-shrink: 0;
}
.tech-skills-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.tech-skills-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: hsl(var(--report-teal-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tech-skills-icon-wrap svg {
    width: 20px;
    height: 20px;
    color: hsl(var(--report-teal));
}
.tech-skills-title { font-size: 1.25rem; font-weight: 700; color: hsl(var(--foreground)); margin: 0; }
.tech-skills-section { margin-bottom: 2rem; }
.tech-skills-section:last-child { margin-bottom: 0; }
.tech-skills-subtitle { font-size: 1.125rem; font-weight: 700; color: hsl(var(--foreground)); margin-top: 1rem; margin-bottom: 1rem; }
.tech-skill-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    background-color: hsl(var(--muted) / 0.3);
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid hsl(var(--border) / 0.5);
    margin-bottom: 1rem;
}
@media (min-width: 992px) {
    .tech-skill-item { grid-template-columns: 1fr 1fr; }
}
.tech-skill-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}
/* Left grid cell wrapping the rating row + skill-matrix chips, so the comment
   stays in the second column (chips no longer bump it to a new grid row). */
.tech-skill-main { align-self: center; min-width: 0; }
.tech-skill-left { display: flex; align-items: center; gap: 0.75rem; }
.tech-skill-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 32px;
    padding: 0 0.5rem;
    border-radius: 9999px;
    background-color: hsl(var(--report-teal));
    color: hsl(var(--primary-foreground));
    font-size: 0.875rem;
    font-weight: 700;
}
.tech-skill-name { font-weight: 600; color: hsl(var(--foreground)); }
.tech-skill-progress {
    width: 96px;
    height: 10px;
    background-color: hsl(var(--muted));
    border-radius: 9999px;
    overflow: hidden;
}
.tech-skill-progress-fill {
    height: 100%;
    background-color: hsl(var(--report-teal));
    border-radius: 9999px;
    transition: width 0.5s ease;
}
.tech-skill-comment-box {
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    padding: 0.75rem;
    background-color: hsl(var(--card));
}
.tech-skill-comment-label {
    color: hsl(var(--report-comment));
    font-weight: 600;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.25rem;
}
.tech-skill-comment-text { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin: 0; }

/* Technical Skills comment - same style as Behavioral Skills comment */
.tech-skill-item .report-section-inner {
    padding: 1.25rem;
}
.tech-skill-item .report-section-inner .text-comment-label {
    font-weight: 600;
}
.tech-skill-item .report-section-inner p,
.tech-skill-item .report-section-inner .text-sm {
    font-size: 0.95rem;
    color: hsl(214.5, 13.7%, 52.7%);
}

/* Tablist aligns with donut chart - same start line, full width as Candidate Details & tab content */
.report-tabs-wrapper {
    border-bottom: 1px solid hsl(var(--border));
    overflow-x: auto;
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: hsl(var(--card));
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    /* Align with section boundaries - same left/right as Candidate Details, donut chart */
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Full-width tabs on large screens: break out of container padding and spread tabs */
@media (min-width: 992px) {
    .why .report-tabs-wrapper {
        margin-left: calc(-1 * var(--report-content-x)) !important;
        margin-right: calc(-1 * var(--report-content-x)) !important;
        width: calc(100% + 2 * var(--report-content-x));
        max-width: none;
        padding-left: var(--report-content-x);
        padding-right: var(--report-content-x);
    }
}

/* Tab content uses container padding - consistent left/right borders */
.why .tab-content {
    margin: 0;
    padding: 0;
}

.report-tabs-inner {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    gap: 0;
}

/* On large screens, spread tabs across full width */
@media (min-width: 992px) {
    .report-tabs-inner {
        justify-content: space-between;
    }
}

.report-tab-btn {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    cursor: pointer;
    min-width: 0;
}

.report-tab-btn-text {
    display: inline-block;
    font-weight: 700;
}

.report-tab-btn:hover {
    color: hsl(var(--foreground));
}

.report-tab-btn.active {
    color: hsl(var(--primary));
    border-bottom-color: hsl(var(--primary));
}

.report-tab-btn.active .report-tab-btn-text {
    border-bottom: none;
}

/* Legacy nav-link support (if any remain) */
.why ul {
    border-bottom: none;
}

.why .nav-link {
    font-size: var(--font-base);
    height: 100%;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    border: none;
    border-bottom: 2px solid transparent;
}

.why .nav-link:hover {
    color: hsl(var(--foreground));
}

.why .nav-link.active {
    border-bottom: 2px solid hsl(var(--primary));
    color: hsl(var(--primary));
}


.why .tab-content p {
    font-weight: 400;
    font-size: var(--font-lg);
    line-height: 1.5;
    color: #000000;
}

.why .tab-content .question-span {
    font-weight: 500;
    font-size: var(--font-2xl);
    line-height: 27px;
    color: hsl(var(--primary));
}

.why .tab-content .question {
    font-weight: 500;
    font-size: var(--font-lg);
    line-height: 31px;
    color: #000000;
}

.heading-7 {
    font-weight: 500;
    font-size: var(--font-lg);
    color: #21252999;
}

.question-area {
    background-color: hsl(var(--muted));
    border-radius: 10px 10px 0px 0px;
    padding: 15px 20px 2px 20px;
    box-shadow: none;
    margin-top: 15px;
}

.question-1 {
    font-weight: 400;
    font-size: var(--font-sm);
    color: #767676;
}

.answer-area {
    background-color: hsl(var(--card));
    border-radius: 0px 0px 10px 10px;
    padding: 15px 20px 5px 20px;
    box-shadow: none;
}

.correct-answer {
    font-weight: 400;
    font-size: var(--font-sm);
    color: #30C9AA;
}

.wrong-answer {
    font-weight: 400;
    font-size: var(--font-sm);
    color: #EC3C24;
}

.answer {
    font-weight: 400;
    font-size: var(--font-sm);
    line-height: 20px;
    color: #000000;
}

.excellent-good {
    background: #FFFFFF;
    box-shadow: none;
    border-radius: 10px;
    padding: 20px 40px;
    position: sticky;
    z-index: 1;
    top: 45px;
}

@media (max-width: 992px) {
    .excellent-good {
        position: relative;
        z-index: 0;
    }
}
@media (max-width: 450px) {
    .excellent-good {
        padding: 20px 15px;
        box-shadow: none;
        display: flex;
        flex-direction: column;
    }

}

/* @media (max-width: 1107px) {
  .excellent-good {
    top: 90px;
  }
} */
/* @media (max-width: 684px) {
  .excellent-good {
    top: 135px;
  }
}
@media (max-width: 494px) {
  .excellent-good {
    top: 180px;
  }
}
@media (max-width: 478px) {
  .excellent-good {
    top: 225px;
  }
}
@media (max-width: 435px) {
  .excellent-good {
    top: 270px;
  }
} */

.excellent-good h4 {
    font-style: normal;
    font-weight: 600;
    font-size: var(--font-2xl);
    line-height: 1.5;
}

.excellent-good .excellent {
    border-bottom: 4px solid #5DBD0E;
}

.excellent-good .good {
    border-bottom: 4px solid #5285FF;
}

.excellent-good .satisfactory {
    border-bottom: 4px solid #F68206;
}

.excellent-good .need_improve {
    border-bottom: 4px solid #F8CC0E;
}

.excellent-good .unsatisfactory {
    border-bottom: 4px solid #D73E26;
}

/* Match r1 card styling for tab content panels - unified section styling */
.report_summary,
.behavioural_skill, .ai_summary {
    background-color: hsl(var(--card));
    border: var(--report-section-border);
    border-radius: var(--report-section-radius);
    padding: var(--report-section-padding);
    box-shadow: none;
}

.ai_summary ul li{
    font-size: var(--font-lg);
    line-height: 1.5;
}

/* Tab content - no background color, unified vertical padding */
#ex3-tabs-0 .data1,
.why .data2,
.why .data3,
.why .data4,
.why .data5,
.why .data6 {
    background-color: transparent;
    border-radius: var(--report-section-radius);
    padding: var(--report-section-padding) 0;
}

/* Align all tab content with donut chart: remove inner padding so sections start/end at same line */
#ex3-tabs-0 .data1.px-2,
#ex3-tabs-0 .data1 .px-2,
#ex3-tabs-0 .data1 .px-md-4,
#ex3-tabs-0 .data1 .col-lg-12,
.why .tab-content .container[class*="data"] > .row > [class*="col-"],
.why .tab-content .container[class*="data"] .row > .col-lg-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.overall_report {
    background-color: transparent;
    padding: 1.25rem 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Tab content full width - align left border with Candidate Details */
.why .container.data1,
.why .container.data2,
.why .container.data3,
.why .container.data4,
.why .container.data5,
.why .container.data6 {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Chart aligns left - reference for all sections start/end boundaries */
.overall-report-container {
    display: flex;
    flex-direction: column;
    gap: var(--report-section-gap);
    align-items: flex-start;
}

/* 1200px+: chart left, cards right */
@media (min-width: 1200px) {
    .overall-report-container {
        flex-direction: row;
        align-items: flex-start;
    }
}

/* <1200px: make chart box full-width and centered in its row */
@media (max-width: 1199.98px) {
    .overall-report-container {
        align-items: center;
    }
    .overall-report-chart-col {
        max-width: 100%;
        width: 100%;
    }
}


/* Left: chart + legend - align with Overall Report tab, unified section styling */
.overall-report-chart-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
    background-color: hsl(var(--card));
    border: var(--report-section-border);
    border-radius: var(--report-section-radius);
    padding: var(--report-section-padding);
    max-width: 300px;
    width: 100%;
}

/* Chart wrapper: square for circular donut, center 100% overlay */
.overall-report-chart-wrap {
    position: relative;
    min-width: 0;
}

.overall-report-chart-wrap canvas {
    min-width: 0;
}

.overall-report-chart-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.overall-report-chart-center-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Legend: space-y-1 */
.overall-report-legend {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.875rem;
}

.overall-report-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.overall-report-legend-box {
    border-radius: 20%;
    flex-shrink: 0;
    width: 0.8rem;
    height: 0.8rem;
}

/* Donut chart legend - from 1.css: primary (207 70% 45%) and lighter variant */
.overall-report-legend-box1 {
    background: hsl(var(--primary));
}

.overall-report-legend-box2 {
    background: hsl(207 70% 75%);
}

.overall-report-legend-box3 {
    background: hsl(207 70% 85%);
}

.overall-report-legend-text {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Right: grid - cards stack on small devices, side-by-side on larger screens */
.overall-report-cards {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--report-section-gap);
    min-width: 0;
    width: 100%;
}

/* <767px: cards stacked */
.overall-report-cards-cols-1,
.overall-report-cards-cols-2,
.overall-report-cards-cols-3 {
    grid-template-columns: 1fr;
}

/* 767px-1199px: row 1 chart (centered), row 2 cards horizontal */
@media (min-width: 767px) {
    .overall-report-cards-cols-1 {
        grid-template-columns: 1fr;
    }
    .overall-report-cards-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .overall-report-cards-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 1200px+: chart left, cards right */
@media (min-width: 1200px) {
    .overall-report-cards-cols-1 {
        grid-template-columns: 1fr;
    }
    .overall-report-cards-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .overall-report-cards-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Nested section cards (e.g. Comment box in Behavioral Skills) - unified styling */
.report-section-inner {
    border: var(--report-section-border) !important;
    border-radius: var(--report-section-radius);
    padding: var(--report-section-padding);
    min-width: 0;
}


/* Card: unified section styling */
.overall-report-card {
    background-color: hsl(var(--card));
    border: var(--report-section-border);
    border-radius: var(--report-section-radius);
    padding: var(--report-section-padding);
    box-shadow: none;
}

/* Card header: icon on top, title below */
.overall-report-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.overall-report-card-icon {
    font-size: 1.875rem;
    line-height: 2.25rem;
    flex-shrink: 0;
}

.overall-report-card-icon svg {
    display: block;
    width: 1.5em;
    height: 1.5em;
    color: inherit;
}

/* Icons - from 1.css: report-purple for Behaviour */
.overall-report-card-icon-behaviour {
    color: hsl(var(--report-purple));
}

/* Muted-foreground for Technical icon */
.overall-report-card-icon-technical {
    color: hsl(var(--muted-foreground));
}

.overall-report-card-title {
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    margin: 0;
    color: hsl(var(--foreground));
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Skill list: space-y-2 */
.overall-report-skill-list {
    display: flex;
    flex-direction: column;
}

.overall-report-skill-list .details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Skill row: from 1.css - bg-muted/50 rounded-lg px-3 py-2 */
.overall-report-skill-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: hsl(var(--muted) / 0.5);
    border-radius: var(--radius);
    padding-top: .5rem;
    padding-bottom: .5rem;
    padding-left: .75rem;
    padding-right: .75rem;
}

.overall-report-skill-row:last-child {
    margin-bottom: 0;
}

.overall-report-skill-name {
    font-size: 0.875rem;
    font-weight: 400;
    color: hsl(var(--foreground));
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Score badge: from 1.css - bg-primary/10 text-primary */
.overall-report-score-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 1.75rem;
    padding: 0 0.625rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: hsl(var(--primary));
    background-color: hsl(var(--primary) / 0.1);
    border-radius: 9999px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

.overall-report-expand-btn {
    color: hsl(var(--primary));
    cursor: pointer;
    margin-top: 0.5rem;
    text-align: center;
}

.data_points {
    height: 345px;
    overflow: hidden;
}

.mrDP{
    font-size: var(--font-lg);
}

@media (max-width: 450px) {
    .overall_report {
        padding: 20px 0px;
        box-shadow: none;
    }
}

/* coding_skills and screenshot now use report-section-card - override padding if needed */
.report-section-card.coding_skills,
.report-section-card.screenshot {
    padding: 1.5rem;
}

.report-section-card.coding_skills .question-span,
.report-section-card.coding_skills .question {
    font-weight: 600;
    color: hsl(var(--foreground));
}

.report-section-card.coding_skills .heading-7 {
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* Output Script - compact size */
.coding-output-script {
    max-height: 80px;
    overflow-y: auto;
    font-size: 0.8125rem;
    line-height: 1.35;
    padding: 0.25rem 0.5rem;
    background: hsl(var(--muted));
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
}
.coding-output-script p {
    margin: 0;
    color: hsl(var(--muted-foreground));
}

.report-section-card.screenshot img {
    border-radius: 0.5rem;
    border: 1px solid hsl(var(--border));
}

.report-section-card.screenshot p {
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.75rem;
}

/* Question section - report-section-card content */
.report-section-card .question-area {
    margin-bottom: 0.75rem;
}
.report-section-card .answer-area {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid hsl(var(--border) / 0.5);
}
.report-section-card .answer-area:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}
.report-section-card .question-1,
.report-section-card .correct-answer {
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}
.report-section-card .question,
.report-section-card .answer {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

/* AI Summary - report-section-card */
.report-section-card .ai_summary h4 {
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 0.75rem;
}
.report-section-card .ai_summary .strengths-weakness-section h4 {
    margin-top: 1rem;
}

.inner_div {
    background: #FFFFFF;
    box-shadow: none;
    border-radius: 18.662px;
    padding: 20px;
    width: 100%;
    height: 100%;
}

.inner_div h4, .ai_summary h4{
    font-weight: 400;
    font-size: var(--font-2xl);
    line-height: 1.5;
}

.inner_div p {
    font-weight: 400;
    font-size: var(--font-lg);
    color: #767676 !important;
}

.inner_div span {
    font-weight: 400;
    font-size: var(--font-lg);
    color: hsl(var(--primary));
}

.inner_div .fa-star {
    font-size: var(--font-3xl);
    color: hsl(var(--primary));
}

/* Legacy chart labels (if used elsewhere) */
.chart-label {
    font-weight: 400;
    font-size: 14px;
    color: #1e293b;
}

.label-box1, .label-box2, .label-box3 {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    flex-shrink: 0;
}

.overall-chart-card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    max-width: 200px;
    box-shadow: none;
}

.overall-chart-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.overall-chart-relative {
    position: relative;
}

.overall-chart-wrap {
    width: 168px;
    height: 168px;
}

.overall-chart-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.overall-chart-center-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--foreground));
}

.overall-chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: var(--font-sm);
    width: 100%;
    align-self: flex-start;
}

.chart-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-legend-box {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    flex-shrink: 0;
}

.chart-legend-box-opt {
    background: rgb(184, 212, 240);
}

.chart-legend-label {
    color: hsl(var(--muted-foreground));
    font-weight: 400;
    font-size: 0.8125rem;
    line-height: 1.25;
}

/* Skills grid: equal thirds with chart, generous spacing */
.overall-skills-grid {
    flex: 2 2 0%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    min-width: 0;
}

@media (min-width: 768px) {
    .overall-skills-grid.overall-skills-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .overall-skills-grid.overall-skills-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .overall-skills-grid.overall-skills-cols-2 {
        flex: 2 2 0%;
    }
    .overall-skills-grid.overall-skills-cols-3 {
        flex: 3 3 0%;
    }
    .overall-skills-grid.overall-skills-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .overall-skills-grid.overall-skills-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Skill card: white background, rounded corners, subtle shadow - matching design */
.skill-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: none;
}

.skill-card-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.skill-card-icon {
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.skill-card-icon-behaviour {
    color: #6b4e9e;
}

.skill-card-icon-technical {
    color: #6b4e9e;
}

.skill-card-icon i {
    font-size: inherit;
}

.skill-card-title {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.25;
    text-align: left;
    margin: 0;
    color: #1e293b;
}

.skill-card-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

/* Skill item: light grey bar, full width - matching design */
.skill-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f3f4f6;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}

.skill-name {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #374151;
}

/* Rating pill: light blue background, dark blue text - matching design */
.skill-rating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 1.75rem;
    padding: 0 0.5rem;
    font-size: 0.8125rem;
    line-height: 1rem;
    font-weight: 700;
    color: #1565c0;
    background-color: #e3f2fd;
    border-radius: 9999px;
}

/* Icons now inline as emoji in HTML */

.technical-mandatory,
.technical-optional {
    background: #FFFFFF;
    box-shadow: none;
    border-radius: 10px 10px 0px 0px;
    padding: 20px;
    margin-top: 10px;
    position: sticky;
    top: 157.5px;
    z-index: 1;
}

@media (max-width: 992px) {

    .technical-mandatory,
    .technical-optional {
        top: 95px;
        z-index: 0;
    }
}

.technical-mandatory h3,
.technical-optional h3 {
    font-weight: 500;
    font-size: var(--font-2xl);
    text-align: center;
}


.technical-mandatory-content,
.technical-optional-content {
    padding: 10px 20px;
}

.accordion-item {
    background: #FFFFFF;
    box-shadow: none;
    border-radius: 15px !important;
    margin-top: 10px;
}

.accordion-header {
    position: relative;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    text-align: left;
    border: 0;
    overflow-anchor: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease;
    background-color: #ffffff !important;
    border-radius: 15px 15px 0 0 !important;
    cursor: pointer;
    border-bottom: 1px solid #0000001a;
}

.accordion-button {
    position: relative;
    align-items: center;
    width: 100%;
    text-align: left;
    box-shadow: none !important;
    border: none !important;
    border-bottom: none !important;
    padding: 0 !important;
    overflow-anchor: none;
    background-color: #ffffff !important;
    border-radius: 15px 15px 0 0 !important;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease;
}

.progress {
    height: 5px;
    width: 60%;
}

.progress-bar {
    background-color: #5DBD0E;
}

.progress-value {
    color: #5DBD0E;
    font-weight: 400;
    font-size: var(--font-sm);
    margin-left: 15px;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
    transform: rotate(0deg) !important;
}

.accordion-button.active::after {
    transform: rotate(-180deg) !important;
}

.accordion-header h2 {
    font-weight: 500;
    font-size: var(--font-xl);
    color: #000000;
    line-height: 1.25;
}

.accordion-body {
    max-height: 70px;
    overflow: hidden;
}

.accordion-body ol li {
    font-weight: 400;
    font-size: var(--font-base);
    line-height: 25px;
    color: #000000;
}

.accordion {
    position: relative;
    z-index: 0;
}

.scrst-1{
    max-width: 300px;
}

.ifr-videos-btn{
    width: 90px;
    height: 31px !important;
}

/* Primary color overrides - use theme variables */
.text-primary {
    color: hsl(var(--primary)) !important;
}


