@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

.no-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .no-scrollbar::-webkit-scrollbar {
        display: none;
    }


html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: var(--color-background);
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}


h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--color-on-surface);
    line-height: 1.3;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

h1 {
    font-size: 2.25rem;
    font-weight: 800;
}

h2 {
    font-size: 1.75rem;
    font-weight: 700;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

h4 {
    font-size: 1.05rem;
    font-weight: 600;
}

h5 {
    font-size: 0.95rem;
    font-weight: 600;
}

h6 {
    font-size: 0.875rem;
    font-weight: 600;
}

p {
    font-family: var(--font-primary);
    font-size: 0.97rem;
    line-height: 1.75;
    color: var(--color-on-surface-variant);
    margin-bottom: 0.75rem;
}

ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

li {
    font-size: 0.97rem;
    line-height: 1.75;
    color: var(--color-on-surface-variant);
    margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.15rem;
    }

    h4 {
        font-size: 1rem;
    }

    p, li {
        font-size: 0.93rem;
    }
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

    a:hover {
        text-decoration: none;
    }

    a.btn,
    button a,
    .btn-submit,
    [class*="btn-"] a,
    a[class*="btn-"],
    .nav-link,
    .toc-link,
    .sidebar-item a {
        color: inherit;
        text-decoration: none;
    }

        a.btn:hover,
        a[class*="btn-"]:hover,
        .nav-link:hover,
        .toc-link:hover {
            text-decoration: none;
        }


:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

:focus:not(:focus-visible) {
    outline: none;
}


input,
textarea,
select {
    border-radius: var(--radius-default);
    font-family: var(--font-primary);
}

    input:focus,
    textarea:focus,
    select:focus {
        outline: none;
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(109, 60, 255, 0.15);
    }

select {
    background-image: none !important;
}

input[type="month"],
input[type="date"] {
    color-scheme: light;
}

    input[type="month"]::-webkit-calendar-picker-indicator,
    input[type="date"]::-webkit-calendar-picker-indicator {
        filter: invert(29%) sepia(72%) saturate(3092%) hue-rotate(230deg) brightness(90%) contrast(101%);
        cursor: pointer;
        opacity: 0.8;
        transition: opacity 0.15s ease;
    }

        input[type="month"]::-webkit-calendar-picker-indicator:hover,
        input[type="date"]::-webkit-calendar-picker-indicator:hover {
            opacity: 1;
        }

    input[type="month"]::-webkit-datetime-edit-text,
    input[type="month"]::-webkit-datetime-edit-month-field,
    input[type="month"]::-webkit-datetime-edit-year-field,
    input[type="date"]::-webkit-datetime-edit-text,
    input[type="date"]::-webkit-datetime-edit-day-field,
    input[type="date"]::-webkit-datetime-edit-month-field,
    input[type="date"]::-webkit-datetime-edit-year-field {
        color: var(--color-on-surface);
        font-family: var(--font-primary);
    }

    .flatpickr-calendar {
        font-family: var(--font-primary);
        border: 1px solid var(--color-outline-variant);
        border-radius: 14px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    }

        .flatpickr-calendar.arrowTop::before,
        .flatpickr-calendar.arrowTop::after {
            border-bottom-color: var(--color-outline-variant);
        }

    .flatpickr-months .flatpickr-month {
        color: var(--color-on-surface);
    }

    .flatpickr-current-month .flatpickr-monthDropdown-months,
    .flatpickr-current-month input.cur-year {
        color: var(--color-on-surface);
    }

    .flatpickr-weekday {
        color: var(--color-on-surface-variant);
    }

    .flatpickr-day.selected,
    .flatpickr-day.selected:hover,
    .flatpickr-day.selected:focus {
        background: var(--color-primary);
        border-color: var(--color-primary);
        color: #ffffff;
    }

    .flatpickr-day.today {
        border-color: var(--color-primary);
        color: var(--color-primary);
    }

        .flatpickr-day.today:hover,
        .flatpickr-day.today:focus {
            border-color: var(--color-primary);
            background: var(--color-primary);
            color: #ffffff;
        }

    .flatpickr-day:hover,
    .flatpickr-day:focus {
        background: var(--color-surface-container-high);
        border-color: var(--color-surface-container-high);
    }

    .flatpickr-day.flatpickr-disabled,
    .flatpickr-day.flatpickr-disabled:hover {
        color: var(--color-outline-variant);
    }

    .flatpickr-time .flatpickr-time-separator,
    .flatpickr-time input {
        color: var(--color-on-surface);
    }

    .flatpickr-input[readonly],
    .flatpickr-input.flatpickr-input {
        color: var(--color-on-surface);
    }

.repeater:has(> .repeater-row:only-child) .repeater-remove {
    display: none;
}


input.is-valid {
    border-color: var(--color-success);
}

input.is-invalid {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.12);
}

.field-error-text {
    color: var(--color-error);
    font-size: 0.8rem;
    margin-top: 4px;
}

.field-success-text {
    color: var(--color-success);
    font-size: 0.8rem;
    margin-top: 4px;
}

.btn-primary,
.btn-submit,
button[type="submit"]:not(.action-btn):not(.btn) {
    background: var(--color-primary-gradient);
    color: var(--color-on-primary);
    border: none;
    border-radius: var(--radius-button);
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.1s ease;
}

    .btn-primary:hover,
    .btn-submit:hover {
        filter: brightness(1.08);
    }

    .btn-primary:active,
    .btn-submit:active {
        transform: scale(0.98);
    }


button.bg-primary-container,
button.bg-primary,
button.btn-primary,
button.btn-submit,
a.btn-primary,
a.bg-primary-container,
a.bg-primary {
    color: var(--color-on-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-outline-variant);
    border-radius: var(--radius-button);
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

    .btn-secondary:hover {
        border-color: var(--color-primary);
        color: var(--color-primary);
    }

.btn-danger {
    background: var(--color-error);
    color: #fff;
    border: none;
    border-radius: var(--radius-button);
    font-weight: 600;
    cursor: pointer;
}

    .btn-danger:hover {
        filter: brightness(0.92);
    }

/* ── btn-submit specific sizing ── */
.btn-submit {
    width: 100%;
    padding: .8rem;
    font-size: .95rem;
    letter-spacing: .01em;
}


.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}


/* Job card hover (browse-jobs, saved-jobs, recommended-jobs on the talent dashboard) -- written
   as real CSS rather than left as Tailwind's hover:border-primary/hover:shadow-md utilities.
   The dashboard's cards are part of the server-rendered page and picked those utilities up fine,
   but browse-jobs/saved-jobs inject their cards later via container.innerHTML from an AJAX
   response, and the Tailwind CDN's runtime JIT compiler -- which generates utility CSS by
   scanning the DOM, and is explicitly documented as unreliable for production/dynamic content --
   was inconsistently missing that specific hover combination there (shadow-md still worked,
   apparently already generated from unrelated static content elsewhere on the page; the
   hover+custom-color pairing did not). Defining it directly here means it's in the stylesheet
   from the first request, regardless of when or how a card actually enters the DOM.
   Named job-list-card rather than job-card -- there's already an unrelated (and, per a repo-wide
   check, entirely unused) .job-card rule further down this file with different, conflicting
   styles; reusing that name here would have silently mixed the two. */
.job-list-card {
    border: 1px solid var(--color-outline-variant);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .job-list-card:hover {
        border-color: var(--color-primary);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }


/* Lets the "profile complete" box (_ProfileCompletionBlock.cshtml) and the verification-status
   card (_TalentStatusBlock.cshtml) share one visual row once the profile is fully complete, even
   though they're two independent Umbraco content blocks rendered by separate partials with no
   shared wrapper to put a flexbox on. Classic float-sidebar-plus-BFC-main layout: the left box
   floats at a fixed width, the right card gets its own block formatting context (overflow:
   hidden) so it automatically fills the remaining width beside the float instead of wrapping
   text around it, and -- because the right card is reliably taller than the one-line left box --
   whatever block renders after them both naturally resumes below without needing an explicit
   clearfix. Only applied at md+ so small screens keep the simple, safe stacked fallback (each
   renders as a plain full-width block, no float/BFC rules apply, they just stack in document
   order). */
@media (min-width: 768px) {
    .status-combo-left {
        float: left;
        width: 25%;
        box-sizing: border-box;
    }

    .status-combo-right {
        overflow: hidden;
        box-sizing: border-box;
    }
}


/* Registration step 9's connection-test progress bar (_registrationStep9.cshtml), used only for
   the phase where there's genuinely no percentage to report (the opaque download fallback --
   see measureDownloadOpaque there for why). A plain CSS animation rather than a Tailwind
   utility like animate-pulse, consistent with this app's practice of not depending on the
   Tailwind CDN's runtime class generation for anything that has to reliably work. */
.progress-pulse {
    animation: gt-progress-pulse 1.4s ease-in-out infinite;
}
@keyframes gt-progress-pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .progress-pulse {
        animation: none;
        opacity: 0.7;
    }
}


.dotted-bg {
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 24px 24px;
}


.rich-text-content {
    max-width: 1100px;
    width: 100%;
    color: var(--color-on-surface);
    line-height: 1.9;
    word-break: normal;
    overflow-wrap: break-word;
}

    .rich-text-content h1,
    .rich-text-content h2,
    .rich-text-content h3,
    .rich-text-content h4,
    .rich-text-content h5,
    .rich-text-content h6 {
        font-weight: 700;
        line-height: 1.3;
        margin-top: 2rem;
        margin-bottom: 1rem;
        color: var(--color-on-surface);
    }

    .rich-text-content h1 {
        font-size: 3rem;
    }

    .rich-text-content h2 {
        font-size: 1.5rem;
    }

    .rich-text-content h3 {
        font-size: 1.15rem;
    }

    .rich-text-content h4 {
        font-size: 1.6rem;
    }

    .rich-text-content h2,
    .rich-text-content h3 {
        margin-top: 1.5rem;
        margin-bottom: 0.4rem;
    }

    .rich-text-content p {
        margin-bottom: 0.75rem;
        font-size: 0.97rem;
        line-height: 1.75;
    }

    .rich-text-content ul,
    .rich-text-content ol {
        padding-left: 2rem;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
    }

    .rich-text-content li {
        margin-bottom: 0.3rem;
        line-height: 1.6;
    }

        .rich-text-content li p {
            margin-bottom: 0;
            font-size: 1rem;
            line-height: 1.6;
        }

    .rich-text-content ul {
        list-style: disc;
    }

    .rich-text-content ol {
        list-style: decimal;
    }

    .rich-text-content strong {
        font-weight: 700;
    }

    .rich-text-content img {
        max-width: 100%;
        height: auto;
        border-radius: var(--radius-card);
        margin: 1rem 0;
    }

    .rich-text-content hr {
        margin: 2rem 0;
        border: none;
        border-top: 1px solid var(--color-outline-variant);
    }

    .rich-text-content table {
        width: 100%;
        border-collapse: collapse;
        margin: 2rem 0;
    }

    .rich-text-content th,
    .rich-text-content td {
        border: 1px solid var(--color-outline-variant);
        padding: 12px;
    }

.md\:grid-cols-2 .rich-text-content {
    max-width: 100%;
}

@media (max-width: 768px) {
    .rich-text-content h1 {
        font-size: 2.2rem;
    }

    .rich-text-content h2 {
        font-size: 1.9rem;
    }

    .rich-text-content h3 {
        font-size: 1.6rem;
    }

    .rich-text-content {
        font-size: 16px;
    }
}

.nav-link {
    position: relative;
    padding-bottom: 4px;
}

    .nav-link::after {
        content: "";
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--color-primary);
        border-radius: 2px;
        transition: width 0.2s ease;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }

    .nav-link.active {
        color: var(--color-primary) !important;
        font-weight: 600;
    }


.language-toggle {
    background: transparent;
    border: none;
    padding: 0;
    color: var(--color-on-surface-variant);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s ease;
}

    .language-toggle:hover {
        color: var(--color-primary);
    }

    .language-toggle:focus {
        outline: none;
        box-shadow: none;
    }


.contact-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

    .contact-header h1 {
        font-size: 2.25rem;
        font-weight: 700;
        color: var(--color-on-surface);
    }

    .contact-header p {
        margin-top: .75rem;
        color: var(--color-on-surface-variant);
    }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-header h1 {
        font-size: 1.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-card-body {
        padding: 1.5rem;
    }

    .form-card-header {
        padding: 1.25rem 1.5rem;
    }
}


.form-card,
.sidebar-card,
.job-card,
.talent-card,
.company-card {
    background: var(--color-surface);
    border: 1px solid var(--color-outline-variant);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.form-card {
    padding: 0;
}

.form-card-header {
    background: var(--color-surface-container-low);
    border-bottom: 1px solid var(--color-outline-variant);
    padding: 1.5rem 2rem;
}

    .form-card-header h2 {
        font-size: 1.05rem;
        font-weight: 600;
        color: var(--color-on-surface);
        margin: 0;
    }

    .form-card-header p {
        font-size: .82rem;
        color: var(--color-on-surface-variant);
        opacity: 1;
        margin-top: .25rem;
        margin-bottom: 0;
    }

.form-card-body {
    padding: 1.75rem 2rem;
}

/* ── Dialogs / modals ── */
.dialog,
.modal-content {
    border-radius: var(--radius-dialog);
}


.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-bottom: 1.25rem;
}

    .form-group label {
        font-size: .78rem;
        font-weight: 600;
        color: var(--color-on-surface-variant);
        text-transform: uppercase;
        letter-spacing: .05em;
    }

    .form-group input,
    .form-group textarea {
        padding: .65rem .9rem;
        border: 1.5px solid var(--color-outline-variant);
        border-radius: var(--radius-default);
        font-size: .92rem;
        font-family: var(--font-primary);
        background: var(--color-surface-container-low);
        color: var(--color-on-surface);
        transition: border-color .15s, box-shadow .15s;
        outline: none;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: var(--color-primary);
            box-shadow: 0 0 0 3px rgba(109, 60, 255, 0.15);
            background: var(--color-surface-container-lowest);
        }

    .form-group textarea {
        resize: vertical;
        min-height: 110px;
        line-height: 1.6;
    }

.cf-turnstile {
    margin-bottom: 1.25rem;
}


.contact-success {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: var(--color-success-container);
    border: 1px solid var(--color-success);
    border-radius: var(--radius-default);
    padding: .7rem 1rem;
    margin-bottom: 1.25rem;
    font-size: .875rem;
    color: var(--color-success);
    font-weight: 500;
}

    .contact-success .material-symbols-outlined {
        font-size: 18px;
        color: var(--color-success);
        flex-shrink: 0;
    }

.contact-error {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: var(--color-error-container);
    border: 1px solid var(--color-error);
    border-radius: var(--radius-default);
    padding: .7rem 1rem;
    margin-bottom: 1.25rem;
    font-size: .875rem;
    color: var(--color-error);
    font-weight: 500;
}

    .contact-error .material-symbols-outlined {
        font-size: 18px;
        color: var(--color-error);
        flex-shrink: 0;
    }


.sidebar-header {
    background: var(--color-surface-container-low);
    border-bottom: 1px solid var(--color-outline-variant);
    padding: 1.5rem;
    color: var(--color-on-surface);
}

    .sidebar-header h3 {
        font-size: 1.05rem;
        font-weight: 600;
        margin: 0;
        color: var(--color-on-surface);
    }

    .sidebar-header p {
        font-size: .82rem;
        opacity: 1;
        margin-top: .3rem;
        margin-bottom: 0;
        color: var(--color-on-surface-variant);
    }

.sidebar-items {
    padding: .5rem 1.5rem 1.25rem;
}

.sidebar-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: .9rem 0;
    border-bottom: 1px solid var(--color-outline-variant);
}

    .sidebar-item:last-child {
        border-bottom: none;
    }

.icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-card);
    background: var(--color-primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .icon-wrap .material-symbols-outlined {
        font-size: 1.15rem;
        color: #ffffff;
    }

.sidebar-item-text span {
    display: block;
    font-size: .72rem;
    color: var(--color-on-surface-variant);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .15rem;
}

.sidebar-item-text p {
    font-size: .9rem;
    color: var(--color-on-surface);
    margin: 0;
    line-height: 1.4;
}

/* ── Reset p margin inside UI components ── */
.form-card p,
.sidebar-card p,
.sidebar-item p,
.form-card-header p,
.sidebar-header p,
.icon-wrap p {
    margin-bottom: 0;
    font-size: inherit;
    color: inherit;
}


.tos-page {
    margin: 0;
    padding: 0;
}

.tos-hero {
    background: var(--color-background); /* #F6F8FB — matches About Us, Services, etc. */
    padding: 4rem 0 3rem;
    text-align: center;
    color: var(--color-on-surface);
}

.tos-hero-inner {
    max-width: unset;
    margin: unset;
}

.tos-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--color-on-surface);
    line-height: 1.2;
}

.tos-subtitle {
    font-size: 0.95rem;
    opacity: 0.75;
    margin: 0;
    color: var(--color-on-surface-variant);
}

.tos-body {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    padding-top: 3rem;
    padding-bottom: 5rem;
    align-items: start;
}

.tos-toc {
    position: sticky;
    top: 90px;
    background: var(--color-surface-container-low);
    border: 1px solid var(--color-outline-variant);
    border-radius: var(--radius-card);
    padding: 1.5rem;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.tos-toc-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-on-surface-variant);
    margin-bottom: 0.75rem;
}

#toc-nav,
#pp-toc-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toc-link {
    display: block;
    padding: 6px 10px;
    border-radius: var(--radius-default);
    font-size: 0.875rem;
    color: var(--color-on-surface-variant);
    text-decoration: none;
    line-height: 1.4;
    transition: background 0.15s, color 0.15s;
    border-left: 2px solid transparent;
}

    .toc-link:hover {
        background: var(--color-surface-container);
        color: var(--color-primary);
    }

    .toc-link.active {
        background: var(--color-surface-container);
        color: var(--color-primary);
        font-weight: 600;
        border-left-color: var(--color-primary);
    }

    .toc-link.toc-h2 {
        padding-left: 20px;
        font-size: 0.825rem;
    }

    .toc-link.toc-h3 {
        padding-left: 32px;
        font-size: 0.8rem;
        color: var(--color-on-surface-variant);
    }

.tos-content {
    min-width: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-outline-variant);
    border-radius: var(--radius-card);
    padding: 2.5rem 3rem;
    box-shadow: var(--shadow-card);
}

    .tos-content h1,
    .tos-content h2 {
        padding-bottom: 0.4rem;
        border-bottom: 1px solid var(--color-outline-variant);
        opacity: 0.6; /* lighter, less prominent divider — heading text itself stays full opacity via color */
        margin-top: 2.5rem;
        color: var(--color-primary);
    }

        .tos-content h1:first-child,
        .tos-content h2:first-child {
            margin-top: 0;
        }

@media (max-width: 900px) {
    .tos-body {
        grid-template-columns: 1fr;
        padding-top: 1.5rem;
        padding-bottom: 3rem;
        gap: 1.5rem;
    }

    .tos-toc {
        position: static;
        max-height: 220px;
        overflow-y: auto;
    }

    .tos-title {
        font-size: 2rem;
    }

    .tos-content {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .tos-hero {
        padding: 2.5rem 0 2rem;
    }

    .tos-title {
        font-size: 1.75rem;
    }

    .tos-content {
        padding: 1.25rem 1rem;
    }

        .tos-content h1,
        .tos-content h2,
        .tos-content h3 {
            scroll-margin-top: 80px;
        }
}


.review-detail-page {
    padding: 30px;
    width: 100%;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 14px;
}

    .back-link:hover {
        text-decoration: underline;
    }

.review-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 16px;
}

.review-detail-person {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.review-detail-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.review-detail-name {
    font-weight: 700;
    font-size: 18px;
}

.review-detail-email {
    color: var(--color-on-surface-variant);
    font-size: 14px;
}

.field-pending-badge {
    background: var(--color-error-container);
    color: var(--color-error);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 12px;
    display: inline-block;
    margin-right: 6px;
    font-weight: 600;
}

.field-ok-badge {
    background: var(--color-success-container);
    color: var(--color-success);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 12px;
    display: inline-block;
    font-weight: 600;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.action-btn {
    border: none;
    border-radius: var(--radius-button);
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.approve-btn {
    background: var(--color-primary-gradient);
    color: #fff;
}

    .approve-btn:hover {
        filter: brightness(1.08);
    }

.reject-btn {
    background: var(--color-surface);
    color: var(--color-error);
    border: 1px solid var(--color-error);
}

    .reject-btn:hover {
        background: var(--color-error-container);
    }

#reviewDetailContainer {
    width: 100%;
    background: var(--color-surface);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}


.table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
}

    .table thead {
        background: var(--color-surface-container-low);
    }

    .table th {
        padding: 16px;
        font-weight: 600;
        white-space: nowrap;
        text-transform: uppercase;
        font-size: 12px;
        color: var(--color-on-surface-variant);
        text-align: left;
    }

    .table td {
        padding: 16px;
        vertical-align: middle;
        border-top: 1px solid var(--color-outline-variant);
        font-size: 14px;
    }

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    border-bottom: 1px solid var(--color-outline-variant);
    text-align: left;
}

th {
    background: var(--color-surface-container-low);
}

.empty-message {
    padding: 60px;
    text-align: center;
    font-size: 16px;
    color: var(--color-on-surface-variant);
}

.loading-message {
    padding: 60px;
    text-align: center;
    font-size: 16px;
    color: var(--color-on-surface-variant);
}

.talent-review-page {
    padding: 30px;
    width: 100%;
}

.talent-review-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
}

.talent-review-toolbar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.talent-count {
    font-size: 18px;
    font-weight: 500;
}

.talent-search {
    width: 320px;
    height: 42px;
    border: 1px solid var(--color-outline-variant);
    border-radius: var(--radius-default);
    background-color: var(--color-surface-container-low);
    padding-left: 40px;
    font-size: 14px;
    outline: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.867-3.834zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 12px center;
}

    .talent-search:focus {
        border-color: var(--color-primary);
    }

#talentReviewTableContainer {
    width: 100%;
    background: var(--color-surface);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.pending-badge {
    background: var(--color-error-container);
    color: var(--color-error);
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 12px;
    display: inline-block;
    margin-right: 5px;
}

.status-badge {
    background: var(--color-error-container);
    color: var(--color-error);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
}

.review-btn {
    background: var(--color-primary-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-button);
    padding: 10px 22px;
    font-weight: 600;
    cursor: pointer;
}

    .review-btn:hover {
        filter: brightness(1.08);
    }


.detail-section {
    background: var(--color-surface);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 20px;
    margin-bottom: 20px;
}

.detail-section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.empty-section {
    color: var(--color-on-surface-variant);
    font-size: 14px;
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-badge {
    background: var(--color-surface-container);
    color: var(--color-primary);
    border-radius: 16px;
    padding: 6px 12px;
    font-size: 13px;
}


.container {
    background: var(--color-surface);
    padding: 20px;
    border-radius: var(--radius-card);
}

.status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    background: var(--color-surface-container);
    color: var(--color-primary);
}

.btn {
    padding: 6px 12px;
    background: var(--color-primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-button);
    cursor: pointer;
}

.search-box {
    padding: 10px;
    width: 300px;
    border: 1px solid var(--color-outline-variant);
    border-radius: var(--radius-default);
}

.view-btn {
    background: var(--color-primary-gradient);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: var(--radius-button);
    cursor: pointer;
    font-size: 14px;
}

    .view-btn:hover {
        filter: brightness(1.08);
    }


footer p {
    margin-bottom: 0;
}

footer {
    margin: 0;
    padding-bottom: 0;
}


.gtp-wrap {
    background: var(--color-background);
    min-height: 100vh;
    padding-bottom: 60px;
}

.gtp-hero {
    background: var(--color-primary-gradient);
    padding: 40px 24px 80px;
}

.gtp-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.gtp-hero-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 3px solid rgba(255,255,255,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
    flex-shrink: 0;
}

    .gtp-hero-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.gtp-hero-text h1 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 3px;
}

.gtp-hero-text p {
    color: rgba(255,255,255,0.78);
    font-size: 13px;
    margin: 0 0 10px;
}

.gtp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: var(--radius-full);
    padding: 4px 14px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
}

.gtp-hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
}

.gtp-body {
    max-width: 1280px;
    margin: -48px auto 0;
    padding: 0 24px;
    position: relative;
}

.gtp-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: start;
}

.gtp-card {
    background: var(--color-surface);
    border-radius: var(--radius-card);
    border: 1px solid var(--color-outline-variant);
    box-shadow: var(--shadow-card);
}

.gtp-card-body {
    padding: 20px;
}

.gtp-left-card {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.gtp-avatar-lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
}

    .gtp-avatar-lg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.gtp-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-on-surface);
    text-align: center;
    margin: 0;
}

.gtp-email {
    font-size: 11px;
    color: var(--color-outline);
    text-align: center;
    margin: 0;
}

.gtp-status {
    border-radius: var(--radius-full);
    padding: 4px 14px;
    font-size: 11px;
    font-weight: 600;
}

.gtp-photo-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px;
    border-radius: var(--radius-default);
    border: 1px solid var(--color-outline-variant);
    background: var(--color-surface);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-on-surface-variant);
    cursor: pointer;
    transition: all 0.15s;
    font-family: var(--font-primary);
}

    .gtp-photo-btn:hover {
        border-color: var(--color-primary);
        color: var(--color-primary);
        background: var(--color-surface-container-low);
    }

.gtp-divider {
    height: 1px;
    background: var(--color-surface-container);
    margin: 4px 0;
    width: 100%;
}

.gtp-meta {
    width: 100%;
}

.gtp-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.gtp-meta-label {
    font-size: 11px;
    color: var(--color-outline);
}

.gtp-meta-val {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-on-surface);
}

.gtp-section-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-outline);
    margin: 0 0 14px;
}

.gtp-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.gtp-field-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-outline);
    display: block;
    margin-bottom: 3px;
}

.gtp-field-val {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-on-surface);
    margin: 0;
}

.gtp-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--color-surface-container);
    border-radius: var(--radius-full);
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 500;
    color: var(--color-on-surface);
    margin: 3px;
}

.gtp-pill-muted {
    color: var(--color-outline);
}

.gtp-edu-row {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-surface-container);
}

    .gtp-edu-row:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.gtp-edu-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-default);
    background: var(--color-surface-container);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gtp-edu-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-on-surface);
    margin: 0 0 2px;
}

.gtp-edu-sub {
    font-size: 11px;
    color: var(--color-on-surface-variant);
    margin: 0;
}

.gtp-edu-date {
    font-size: 10px;
    color: var(--color-outline);
    margin: 3px 0 0;
}

.gtp-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-card);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

.gtp-alert-success {
    background: var(--color-success-container);
    color: var(--color-success);
}

.gtp-alert-error {
    background: var(--color-error-container);
    color: var(--color-error);
}

@media (max-width: 640px) {
    .gtp-grid {
        grid-template-columns: 1fr;
    }

    .gtp-fields {
        grid-template-columns: 1fr;
    }
}


.gtp-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-primary);
    background: transparent;
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-button);
    padding: 4px 10px;
    cursor: pointer;
    transition: all 0.15s;
}

    .gtp-edit-btn:hover {
        background: var(--color-primary);
        color: var(--color-on-primary);
    }

.gtp-save-btn {
    background: var(--color-primary-gradient);
    color: var(--color-on-primary);
    border: none;
    border-radius: var(--radius-button);
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.15s;
}

    .gtp-save-btn:hover {
        filter: brightness(1.08);
    }

.gtp-cancel-btn {
    background: transparent;
    color: var(--color-on-surface-variant);
    border: 1px solid var(--color-outline-variant);
    border-radius: var(--radius-button);
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.gtp-input {
    width: 100%;
    padding: 8px 10px;
    border: 1.5px solid var(--color-outline-variant);
    border-radius: var(--radius-default);
    font-size: 13px;
    font-family: var(--font-primary);
    background: var(--color-surface-container-low);
    color: var(--color-on-surface);
    outline: none;
    transition: border-color 0.15s;
}

    .gtp-input:focus {
        border-color: var(--color-primary);
    }

.gtp-select {
    width: 100%;
    padding: 8px 10px;
    border: 1.5px solid var(--color-outline-variant);
    border-radius: var(--radius-default);
    font-size: 13px;
    font-family: var(--font-primary);
    background: var(--color-surface-container-low);
    color: var(--color-on-surface);
    outline: none;
}

.gtp-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 0;
}

.gtp-remove-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-error-container);
    color: var(--color-error);
    border: none;
    cursor: pointer;
    font-size: 14px;
    flex-shrink: 0;
}

.edit-view {
    display: block;
}

.edit-form {
    display: none;
}

.editing .edit-view {
    display: none;
}

.editing .edit-form {
    display: block;
}

/* Talent Profile / Professional Profile pages (_TalentProfile.cshtml,
   _TalentProfessionalProfile.cshtml, _TalentAccountSidebar.cshtml) -- the redesigned
   replacement for the old gtp-* component classes above, which those three files no longer
   use. Inputs/selects on these pages use the same inline Tailwind utility string the
   registration wizard already uses (kept identical there rather than reintroducing a
   gtprof-input/gtprof-select pair here, precisely to avoid this: a custom class and a Tailwind
   display-* utility sharing one element both set `display`, and since both rules have equal
   specificity, whichever one's CSS happens to load later in the page wins -- not whichever one
   you meant. That's what silently broke edit-form/edit-view further down: the toggle class's
   own display:none was losing to a flex/grid utility added on the same div, so the "hidden by
   default" edit form rendered visible on every page load regardless of section state. */

.gtprof-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    background: transparent;
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-button);
    padding: 5px 12px;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
    flex-shrink: 0;
}

    .gtprof-edit-btn:hover {
        background: var(--color-primary);
        color: var(--color-on-primary);
    }

.gtprof-cancel-btn {
    background: transparent;
    color: var(--color-on-surface-variant);
    border: 1px solid var(--color-outline-variant);
    border-radius: var(--radius-button);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.gtprof-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 0;
}

.gtprof-upload-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: var(--radius-default);
    border: 1px dashed var(--color-outline-variant);
    background: var(--color-surface-container-low);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-on-surface-variant);
    cursor: pointer;
    transition: all 0.15s;
}

    .gtprof-upload-btn:hover {
        border-color: var(--color-primary);
        color: var(--color-primary);
    }
