@import "pages/candidates.css";
@import "pages/pipeline.css";
@import "pages/vacancies.css";
@import "pages/templates.css";
@import "pages/assistant.css";
@import "pages/notifications.css";

:root {
    --bg: #F3F4F6;
    --bg2: #FFFFFF;
    --bg3: #FAFAFB;
    --card: #FFFFFF;
    --card-h: var(--acc3);
    --brd: #E2E5EA;
    --brd-strong: #CED4DD;
    --acc: #FFB000;
    --acc-rgb: 255, 176, 0;
    --acc2: #FFA000;
    --acc3: #FFF8E1;
    --t: #131722;
    --t2: #687386;
    --t3: #98A1B1;
    --grn: #079455;
    --blu: #3D63D8;
    --org: #D96E23;
    --red: #B42318;
    --ylw: #D96E23;
    --r: 7px;
    --shadow: 0 18px 46px rgba(17, 24, 39, .14), 0 2px 8px rgba(17, 24, 39, .08);
    --shadow-h: 0 18px 46px rgba(var(--acc-rgb), .24), 0 2px 8px rgba(var(--acc-rgb), .14);
    --rail: #000000;
    --rail-muted: #9CA3AF;
    --rail-active: #F9FAFB;
    --rail-w: 76px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html,
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--t);
    height: 100vh;
    margin: 0;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

.modal,
.ov {
    font-family: 'Inter', sans-serif;
}

.app-shell {
    height: 100vh;
    display: grid;
    grid-template-columns: var(--rail-w) 1fr;
    background: var(--bg);
}

.product-rail {
    position: relative;
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 14px 10px 12px;
    background: var(--rail);
    color: var(--rail-muted);
    border-right: 1px solid rgba(255, 255, 255, .06);
    height: 100vh;
}

.rail-brand {
    position: relative;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    margin-bottom: 20px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #111827;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.04em;
    cursor: pointer;
}

.rail-nav,
.rail-utils {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.rail-nav {
    flex: 1;
}

.rail-separator {
    width: 34px;
    height: 1px;
    margin: 5px 0;
    background: rgba(255, 255, 255, .12);
}

.rail-item {
    position: relative;
    width: 48px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--rail-muted);
    transition: .15s ease;
    cursor: pointer;
    outline: none;
}

.rail-item:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.rail-item.on {
    background: var(--rail-active);
    color: var(--acc2);
}

.rail-item.on:before {
    content: "";
    position: absolute;
    left: -10px;
    top: 12px;
    width: 3px;
    height: 20px;
    border-radius: 0 2px 2px 0;
    background: var(--acc);
}

.rail-item svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.rail-tooltip {
    position: absolute;
    left: calc(100% + 14px);
    top: 50%;
    z-index: 150;
    transform: translate(6px, -50%);
    padding: 7px 9px;
    border: 1px solid #293345;
    border-radius: 5px;
    background: #151D2B;
    color: #fff;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .2);
    transition: .14s ease;
}

.rail-item:hover .rail-tooltip,
.rail-brand:hover .rail-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
}

.rail-badge {
    position: absolute;
    top: 2px;
    right: 1px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    display: grid;
    place-items: center;
    border: 2px solid var(--rail);
    border-radius: 10px;
    background: #D92D20;
    color: #fff;
    font-size: 8px;
    font-weight: 800;
}

.rail-avatar {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #D9DDEA;
    color: #273144;
    font-size: 10px;
    font-weight: 800;
}

.rail-stats {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 8px 0;
    align-items: center;
}

.r-stat {
    font-size: 9px;
    color: var(--rail-muted);
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.r-stat b {
    color: #fff;
}

.main {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

#main-content {
    height: 100%;
    width: 100%;
}

.page {
    display: none;
    padding: 30px;
    height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
}

.page.on {
    display: block;
}

#pg-candidates,
#pg-pipeline,
#pg-vacancies,
#pg-archive,
#pg-tests,
#pg-templates,
#pg-integration {
    padding: 0;
    overflow: hidden;
}

#pg-candidates.on,
#pg-pipeline.on,
#pg-vacancies.on,
#pg-archive.on,
#pg-integration.on {
    display: grid;
}

#pg-tests,
#pg-templates {
    display: none !important;
}

#pg-tests.on,
#pg-templates.on {
    display: flex !important;
}

.pg-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--brd);
    padding-bottom: 12px
}

.pg-t {
    font-size: 28px !important;
    font-weight: 600 !important;
    color: var(--t);
    letter-spacing: -0.5px
}

.pg-t span {
    display: block;
    color: var(--t3);
    font-weight: 400 !important;
    font-size: 12px !important;
    margin-left: 0;
    margin-top: 2px !important;
}

/* Buttons */
.btn {
    padding: 10px 18px;
    border: none;
    border-radius: var(--r);
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow)
}

.btn-p {
    background: linear-gradient(135deg, var(--acc) 0%, var(--acc2) 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1)
}

.btn-p:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(var(--acc-rgb), 0.2)
}

.btn-p:active {
    transform: translateY(0)
}

.btn-g {
    background: var(--bg2);
    color: var(--t2);
    border: 1px solid var(--brd)
}

.btn-g:hover {
    background: var(--bg3);
    color: var(--t);
    transform: translateY(-1px)
}

.btn-g.on {
    background: rgba(var(--acc-rgb), 0.06);
    border-color: var(--acc);
    color: var(--acc)
}

.btn-d {
    background: rgba(239, 68, 68, 0.08);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, 0.15)
}

.btn-d:hover {
    background: rgba(239, 68, 68, 0.12);
    transform: translateY(-1px)
}

.btn-sm {
    padding: 6px 12px;
    font-size: 11px
}

/* Inputs */
.inp {
    padding: 10px 14px;
    background: var(--bg2);
    border: 1px solid var(--brd);
    border-radius: var(--r);
    color: var(--t);
    font-size: 12px;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
    width: 100%;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02)
}

.inp:focus {
    border-color: var(--acc);
    box-shadow: 0 0 0 3px rgba(var(--acc-rgb), 0.15);
    background: var(--bg2)
}

.inp::placeholder {
    color: var(--t3)
}

.sel {
    padding: 10px 12px;
    background: var(--bg2);
    border: 1px solid var(--brd);
    border-radius: var(--r);
    color: var(--t);
    font-size: 12px;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 32px !important;
}

.sel:focus,
.sel:hover,
.sel:active {
    outline: none !important;
    box-shadow: none !important;
    border-color: var(--brd) !important;
}

.sel option {
    background: var(--bg2);
    color: var(--t)
}

textarea.inp {
    resize: vertical;
    min-height: 60px
}

.form-g {
    margin-bottom: 12px
}

.form-l {
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    color: #A7A7A7 !important;
    margin-bottom: 4px !important
}

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

/* Search bar */
.s-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center
}

.s-wrap {
    flex: 1;
    position: relative;
    min-width: 200px
}

.s-wrap svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--t3);
    width: 16px;
    height: 16px
}

.s-inp {
    width: 100%;
    padding: 10px 14px 10px 42px;
    background: var(--bg2);
    border: 1px solid var(--brd);
    border-radius: var(--r);
    color: var(--t);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
}

.s-inp:focus {
    border-color: var(--acc);
    box-shadow: 0 0 0 3px rgba(var(--acc-rgb), 0.15);
    background: var(--bg2)
}

.s-inp::placeholder {
    color: var(--t3)
}

/* Modal to Slide-In Drawer Transformation */
.ov {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.35);
    backdrop-filter: blur(4px);
    z-index: 1000;
    justify-content: flex-end;
    align-items: stretch;
    padding: 0;
    transition: all 0.25s ease;
}

.ov.on {
    display: flex;
}

.modal {
    background: var(--card);
    border-left: 1px solid var(--brd);
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
    max-width: 600px;
    width: min(600px, 100vw);
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    box-shadow: -10px 0 35px rgba(17, 24, 39, 0.15);
    animation: slideIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

#authGateModal {
    justify-content: center;
    align-items: center;
}

#authGateModal .modal {
    border-radius: 16px;
    height: auto;
    max-height: 85vh;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes slideIn {
    from {
        transform: translateX(30px);
        opacity: 0.5;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.m-h {
    padding: 20px 24px;
    border-bottom: 1px solid var(--brd);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.m-nm {
    font-size: 16px;
    font-weight: 800;
    color: var(--t)
}

.m-ps {
    font-size: 12px;
    color: var(--acc);
    font-weight: 400;
    margin-top: 2px
}

.m-x {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--t2);
    font-size: 18px;
    display: grid;
    place-items: center;
    cursor: pointer;
    outline: none;
    transition: all 0.15s ease;
    padding: 0;
    box-sizing: border-box;
    flex-shrink: 0;
}

.m-x:hover {
    background: transparent;
    color: var(--t);
    border: none;
}

.m-b {
    padding: 24px
}

.m-s {
    margin-bottom: 18px
}

.m-s:last-child {
    margin-bottom: 0
}

.m-l {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--t3);
    margin-bottom: 6px
}

.m-v {
    font-size: 12px;
    color: var(--t);
    line-height: 1.6
}

.m-cg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px
}

.m-ci {
    font-size: 11px;
    color: var(--t2);
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg3);
    padding: 6px 10px;
    border-radius: 6px
}

.m-ci a {
    color: var(--acc);
    font-weight: 600;
    text-decoration: none
}

.m-ci a:hover {
    text-decoration: underline
}

.m-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center
}

.m-sel {
    padding: 6px 12px;
    background: var(--bg2);
    border: 1px solid var(--brd);
    border-radius: 8px;
    color: var(--t);
    font-size: 11px;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    box-shadow: var(--shadow)
}

.m-note {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg2);
    border: 1px solid var(--brd);
    border-radius: 8px;
    color: var(--t);
    font-size: 11px;
    font-family: inherit;
    outline: none;
    resize: vertical;
    min-height: 60px;
    transition: all 0.2s ease
}

.m-note:focus {
    border-color: var(--acc);
    box-shadow: 0 0 0 3px rgba(var(--acc-rgb), 0.15)
}

.m-note::placeholder {
    color: var(--t3)
}

.m-save {
    padding: 6px 14px;
    background: var(--acc);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    box-shadow: var(--shadow);
    transition: all 0.2s ease
}

.m-save:hover {
    background: var(--acc2);
    transform: translateY(-1px)
}

/* Toasts */
.toasts {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 6px
}

.toast {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    animation: sr 0.25s cubic-bezier(0.16, 1, 0.3, 1)
}

@keyframes sr {
    from {
        opacity: 0;
        transform: translateX(30px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

.t-ok {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0
}

.t-err {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca
}

.empty {
    text-align: center;
    padding: 40px;
    color: var(--t3);
    font-size: 12px;
    font-weight: 500
}

.b-st {
    background: rgba(249, 115, 22, 0.08);
    color: var(--org)
}

/* Redesigned Modal Buttons */
.btn-save-notes {
    width: 100%;
    padding: 10px;
    font-size: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--acc) 0%, var(--acc2) 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 6px;
    transition: all 0.2s;
    box-shadow: var(--shadow);
    font-family: inherit;
}

.btn-save-notes:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--acc-rgb), 0.25);
}

.btn-save-notes:active {
    transform: translateY(0);
}

.btn-pipeline-toggle {
    width: 100%;
    padding: 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--brd);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: inherit;
    box-shadow: var(--shadow);
}

.btn-pipeline-toggle.active {
    background: rgba(16, 185, 129, 0.08);
    border-color: var(--grn);
    color: #047857;
}

.btn-pipeline-toggle.inactive {
    background: var(--bg2);
    color: var(--t2);
}

.btn-pipeline-toggle:hover {
    transform: translateY(-1px);
}

.stage-selector-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-top: 8px;
    width: 100%;
}

.stage-btn {
    padding: 8px 6px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 6px;
    border: 1px solid var(--brd);
    background: var(--bg2);
    cursor: pointer;
    color: var(--t2);
    transition: all 0.15s;
    text-align: center;
    box-shadow: var(--shadow);
}

.stage-btn:hover {
    border-color: var(--acc);
    color: var(--acc);
}

.stage-btn.active {
    border-color: var(--acc);
    background: rgba(var(--acc-rgb), 0.08);
    color: var(--acc);
}

.btn-fav-large {
    border: 1px solid var(--brd);
    background: var(--bg2);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 700;
    color: var(--t2);
    transition: all 0.2s;
    box-shadow: var(--shadow);
}

.btn-fav-large:hover {
    border-color: var(--acc);
    color: var(--acc);
}

.btn-fav-large.active {
    background: rgba(245, 158, 11, 0.06);
    border-color: var(--ylw);
    color: var(--ylw);
}

/* Hero Banner Styles */
.hero-banner {
    display: none !important;
}

.hero-search-row {
    position: relative;
    z-index: 5;
    background: var(--bg2);
    padding: 16px 24px;
    border-radius: 0;
    margin: 0;
    display: flex;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid var(--brd);
}

.hero-search-row .s-wrap {
    flex: 1;
    position: relative;
    min-width: 200px;
}

.hero-search-row .s-wrap svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    width: 16px;
    height: 16px;
}

.hero-search-row .s-inp {
    width: 100%;
    padding: 10px 14px 10px 42px;
    background: #f3f4f6;
    border: none;
    border-radius: 30px;
    color: #1f2937;
    font-size: 13px;
    height: 42px;
    box-shadow: none;
    outline: none;
}

.hero-search-row .s-inp:focus {
    background: #e5e7eb;
    border: none;
    box-shadow: none;
}

.hero-search-row .s-inp::placeholder {
    color: #9ca3af;
}

.hero-search-row .sel {
    background-color: #f3f4f6;
    color: #1f2937;
    border: none;
    border-radius: 10px;
    font-size: 12px;
    height: 42px;
    padding: 0 16px;
    padding-right: 32px !important;
    cursor: pointer;
    box-shadow: none;
    outline: none;
}

.hero-search-row .sel:focus,
.hero-search-row .sel:hover,
.hero-search-row .sel:active {
    background-color: #e5e7eb;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.hero-search-row .sel option {
    background: #ffffff;
    color: #1f2937;
}

.hero-search-row .btn {
    border-radius: 10px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.custom-select-container {
    position: relative;
    width: 100%;
    user-select: none;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    color: var(--t);
    border: 1px solid var(--brd-strong);
    border-radius: var(--r);
    font-size: 12px;
    font-weight: 500;
    height: 38px;
    padding: 0 14px;
    cursor: pointer;
    box-shadow: none;
    outline: none;
    box-sizing: border-box;
    transition: all 0.15s ease;
}

.custom-select-trigger:hover {
    background-color: #fafafa;
    border-color: var(--acc);
}

.custom-select-trigger span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    text-align: left;
}

.custom-select-trigger .chevron {
    width: 12px;
    height: 12px;
    color: var(--t2);
    transition: transform 0.15s ease;
    flex-shrink: 0;
    margin-left: 8px;
}

.custom-select-trigger.open .chevron {
    transform: rotate(180deg);
}

.custom-options {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border: 1px solid var(--brd-strong);
    border-radius: var(--r);
    z-index: 200;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: none !important;
    box-sizing: border-box;
}

.custom-options.open {
    display: block;
}

.custom-option {
    padding: 10px 16px;
    font-size: 13px;
    color: #1f2937;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.15s ease;
}

.custom-option:hover {
    background-color: var(--acc3);
    color: var(--acc);
}

/* Global shadow removal as requested */
* {
    box-shadow: none !important;
}

/* Page headings (size 28, weight 600) */
.pg-t,
.canvas-toolbar h1,
.page-title,
h1.page-title {
    font-size: 28px !important;
    font-weight: 600 !important;
}

/* Main headings (size 24, weight 600) */
.canvas-toolbar h2,
.canvas-toolbar .h2,
.modal h2,
.modal .m-nm,
.m-nm,
.v-sec-h,
.an-st,
#vdInfoView h2,
#testDetailsContainer h2,
#testDetailsContainer h3,
#vdInfoEdit h3,
#vdMatchesTitle,
#vdCandidatesTitle,
.details-title,
.section-title,
.canvas-scroll h2 {
    font-size: 24px !important;
    font-weight: 600 !important;
}

/* Global headings font weight override */
h1,
h2,
h3,
h4,
h5,
h6,
.v-sec-h,
.an-st,
.m-nm {
    font-weight: 600 !important;
}

/* Card titles / headers (size 14, weight 600) */
.c-name,
.k-name,
.k-col-h,
.context-item>div:first-child,
.context-item [style*="font-size: 13px"],
.card [style*="font-size: 13px"],
#testsListContainer [style*="font-size: 13px"],
#templatesList [style*="font-size: 13px"],
.context-item div[style*="font-weight: 700"],
.card div[style*="font-weight: 700"],
#testsListContainer div[style*="font-weight: 700"],
#templatesList div[style*="font-weight: 700"] {
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* Selected list items background */
.card.selected,
.context-item.active,
.context-item.selected,
.template-card.active,
.test-card.active,
.v-section-tab.active {
    background: #FAFAFB !important;
}

/* Hide scrollbar while keeping scrollability */
.scroll-no-bar {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

.scroll-no-bar::-webkit-scrollbar {
    display: none !important;
}

/* New Clean Flat Section Layout */
.v-flat-section {
    padding: 24px 0 !important;
    border-bottom: 1px solid var(--brd) !important;
}

.v-flat-num {
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: var(--t3) !important;
    margin-bottom: 4px !important;
}

.v-flat-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--t) !important;
    margin-bottom: 12px !important;
}

.v-flat-content {
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: var(--t) !important;
    line-height: 1.6 !important;
}

.v-flat-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px 24px !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid var(--brd) !important;
}

.v-flat-row:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.v-flat-label {
    font-size: 11px !important;
    color: var(--t3) !important;
    font-weight: 400 !important;
    margin-bottom: 4px !important;
}

.v-flat-val {
    font-size: 12px !important;
    color: var(--t) !important;
    font-weight: 400 !important;
}

/* Force all Save/Create buttons to black */
.btn-p,
.btn-create,
.btn.primary,
.btn-save-notes,
button[onclick*="save"],
button[onclick*="submit"],
button[type="submit"] {
    background: #1a1a1a !important;
    border-color: #1a1a1a !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.btn-p:hover,
.btn-create:hover,
.btn.primary:hover,
.btn-save-notes:hover,
button[onclick*="save"]:hover,
button[onclick*="submit"]:hover,
button[type="submit"]:hover {
    background: #333333 !important;
    border-color: #333333 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Custom outline and text color overrides */
.btn-fav-filter,
.btn-ai-search {
    border: 1px solid #E2E2E2 !important;
    color: #A7A7A7 !important;
    background: #ffffff !important;
}

.btn-fav-filter svg,
.btn-ai-search svg {
    color: #A7A7A7 !important;
}

.btn-fav-filter.on svg,
.btn-ai-search.on svg {
    color: var(--acc) !important;
}

.s-inp,
#q,
input.s-inp {
    border: 1px solid #E2E2E2 !important;
    color: #A7A7A7 !important;
}

.s-inp::placeholder,
#q::placeholder,
input.s-inp::placeholder {
    color: #A7A7A7 !important;
}

.s-wrap svg {
    color: #A7A7A7 !important;
}

.custom-select-trigger {
    border: 1px solid #E2E2E2 !important;
    color: #A7A7A7 !important;
}

.custom-select-trigger span {
    color: #A7A7A7 !important;
}

.custom-select-trigger svg.chevron {
    color: #A7A7A7 !important;
}

/* Candidate position and tag style overrides */
.c-pos {
    color: #A7A7A7 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    font-family: 'Inter', sans-serif !important;
}

.tag {
    border: 1px solid #E2E2E2 !important;
    color: #A7A7A7 !important;
    background: #ffffff !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    font-family: 'Inter', sans-serif !important;
}

.c-field-label {
    color: #A7A7A7 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    font-family: 'Inter', sans-serif !important;
    text-transform: none !important;
}