:root {
    /* Clan Theme Colors */
    --clan-primary: #001D6C;
    --clan-secondary: #491D8B;
    --clan-light: #F5F7FA;
    --clan-text: #1F2933;

    /* Clan Colors */
    --clan-dark-blue: #001D6C;
    --clan-purple: #491D8B;
    --clan-magenta: #7B1FA2;
    --clan-pink: #D81B60;
    --clan-orange: #FF5722;
    --clan-yellow: #FFC107;

    /* Accent Colors */
    --color-green: #10B981;
    --color-red: #EF4444;

    /* Fonts */
    --font-lato: 'Lato', sans-serif;
    --font-roboto-slab: 'Roboto Slab', serif;

    /* Layout */
    --sidebar-offset: 100px;

    /* Surface System */
    --surface-0: #ffffff;
    --surface-1: #fcfbff;
    --surface-2: #f7f3fc;
    --surface-3: #f4f0fb;

    /* Border System */
    --border-soft: #ece8f5;
    --border-softer: #f3eff9;
    --border-strong: #e7def5;
    --border-hover: #ddd1f1;

    /* Text System */
    --text-main: #2f224d;
    --text-body: #3f3950;
    --text-muted: #6f6487;
    --text-soft: #8b849d;
    --text-eyebrow: #7a6f96;

    /* Effects */
    --shadow-card: 0 10px 30px rgba(0, 29, 108, 0.06);
    --shadow-float: 0 8px 20px rgba(0, 29, 108, 0.08);
    --focus-ring: 0 0 0 0.2rem rgba(73, 29, 139, 0.15);

    /* Radius */
    --radius-card: 20px;
    --radius-lg: 18px;
    --radius-md: 16px;
    --radius-sm: 14px;
    --radius-pill: 999px;

    /* Status */
    --status-excellent-bg: rgba(16, 185, 129, 0.12);
    --status-excellent-text: #047857;

    --status-good-bg: rgba(0, 29, 108, 0.10);
    --status-good-text: var(--clan-primary);

    --status-medium-bg: rgba(255, 193, 7, 0.18);
    --status-medium-text: #8a6500;

    --status-low-bg: rgba(239, 68, 68, 0.12);
    --status-low-text: #b91c1c;
}

body {
    font-family: var(--font-lato);
    color: var(--clan-text);
    background-color: #FAFAFA;
    
}

main,
.row,
.col-lg-4 {
    overflow: visible;
}

.main-stage {
    overflow: visible;
    min-height: 70vh;
}

.headline {
    font-family: var(--font-lato);
    font-size: 2rem;
    font-weight: 700;
    color: var(--clan-dark-blue);
    line-height: 1.2;
}

/* Header */

.clan-header {
    background: linear-gradient(45deg, var(--clan-dark-blue), var(--clan-purple), var(--clan-magenta), var(--clan-pink), var(--clan-orange), var(--clan-yellow));
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 0;
    min-height: 80px;
}

.login-screen {
    background: var(--clan-light);
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo {
    height: 32px;
}

/* Links */

.back-link {
    color: var(--clan-primary);
    text-decoration: none;
    font-weight: 500;
}

/* Simple Buttons */
.btn-simple {
    background: var(--clan-primary);
    border: none;
    color: #fff;
    transition: background 0.3s ease;
}

.btn-simple:hover {
    background: var(--clan-secondary);
    color: #fff;
}

/* Outline Buttons */
.btn-outline-primary {
    background: #fff;
    border: 2px solid var(--clan-primary);
    color: var(--clan-primary);
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
    padding: 8px 16px;
}

.btn-outline-primary:hover {
    background: var(--clan-primary);
    border: 2px solid var(--clan-primary);
    color: #fff;
}

.btn-primary {
    background: var(--clan-pink);
    border: 2px solid var(--clan-primary);
    color: #fff;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
    padding: 8px 16px;
}

.btn-primary:hover {
    background: var(--clan-primary);
    border: 2px solid var(--clan-primary);
    color: #fff;
}

/* Gradient Buttons */
.btn-gradient {
    background: linear-gradient(90deg, var(--clan-pink), var(--clan-secondary));
    border: 2px solid var(--clan-primary);
    color: #fff;
    transition: background 0.3s ease, color 0.3s ease;
    padding: 8px 16px;
    font-weight: 600;
}

.btn-gradient:hover {
    background: var(--clan-dark-blue);
    color: #fff;
}

.btn-gradient-inverse {
    background: var(--clan-dark-blue);
    border: 2px solid var(--clan-primary);
    color: #fff;
    transition: background 0.3s ease;
    padding: 8px 16px;
}

.btn-gradient-inverse:hover {
    background: linear-gradient(90deg, var(--clan-pink), var(--clan-secondary));
    color: #fff;
    border: 2px solid var(--clan-primary);
}


/* Clan Buttons */
.btn-clan {
    background: var(--clan-primary);
    border: 2px solid var(--clan-primary);
    color: #fff;
    transition: background 0.3s ease, color 0.3s ease;
    padding: 8px 16px;
    font-weight: 600;
}

.btn-clan:hover {
    background: var(--clan-purple);
    border: 2px solid var(--clan-primary);
    color: #fff;
}

/* Clan Outline Buttons */
.btn-clan-outline {
    background: transparent;
    border: 2px solid var(--clan-primary);
    color: var(--clan-primary);
    transition: background 0.3s ease, color 0.3s ease;
    padding: 8px 16px;
    font-weight: 600;
}

.btn-clan-outline:hover {
    background: var(--clan-yellow);
    border: 2px solid var(--clan-primary);
}

.btn-clan-outline-pink {
    background: transparent;
    border: 2px solid var(--clan-pink);
    color: var(--clan-primary);
    transition: background 0.3s ease, color 0.3s ease;
    padding: 8px 16px;
    font-weight: 600;
}

.btn-clan-outline-pink:hover {
    background: var(--clan-yellow);
    border: 2px solid var(--clan-pink);
}

.btn-clan-outline-inverse {
    background: var(--clan-yellow);
    border: 2px solid var(--clan-primary);
    color: var(--clan-primary);
    transition: background 0.3s ease, color 0.3s ease;
    padding: 8px 16px;
    font-weight: 600;
}

.btn-clan-outline-inverse:hover {
    background: var(--clan-primary);
    color: var(--clan-yellow);
    border: 2px solid var(--clan-yellow);
}

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--clan-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
    text-decoration: none;
    padding: 16px;
}

.back-to-top:hover {
    background: linear-gradient(90deg, var(--clan-pink), var(--clan-secondary));
}

/* offcanvas styles */
.offcanvas-header {
    background: var(--clan-primary);
}

.offcanvas-body {
    padding: 16px;
}

.offcanvas .form-check-label {
    color: var(--clan-text);
}

.offcanvas-title {
    font-family: var(--font-roboto-slab);
    color: var(--clan-light);
    font-size: 1.2rem;
    font-weight: 700;
}

/* modal styles */
.modal-header {
    background: var(--clan-primary);
}

.modal-title {
    font-family: var(--font-roboto-slab);
    color: var(--clan-light);
    font-size: 1.2rem;
    font-weight: 700;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .job-card {
        padding: 12px;
    }

    .job-detail section {
        margin-bottom: 24px;
    }
}

/* Footer */
.clan-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 24px 0;
    text-align: center;
    font-size: 0.9rem;
    min-height: auto;
}

.clan-footer a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
}

.clan-footer a:hover {
    text-decoration: underline;
}

/* Color Formatting */
.text-clan-primary {
    color: var(--clan-primary) !important;
}

.text-clan-secondary {
    color: var(--clan-secondary) !important;
}

.text-clan-pink {
    color: var(--clan-pink) !important;
}

.text-clan-dark-blue {
    color: var(--clan-dark-blue) !important;
}

.text-clan-purple {
    color: var(--clan-purple) !important;
}

.text-clan-magenta {
    color: var(--clan-magenta) !important;
}

.text-clan-orange {
    color: var(--clan-orange) !important;
}

.text-clan-yellow {
    color: var(--clan-yellow) !important;
}

.text-green {
    color: var(--color-green) !important;
}

.text-red {
    color: var(--color-red) !important;
}

.bg-clan-primary {
    background-color: var(--clan-primary) !important;
}

.bg-clan-secondary {
    background-color: var(--clan-secondary) !important;
}

.bg-clan-pink {
    background-color: var(--clan-pink) !important;
}

.bg-clan-dark-blue {
    background-color: var(--clan-dark-blue) !important;
}

.bg-clan-purple {
    background-color: var(--clan-purple) !important;
}

.bg-clan-magenta {
    background-color: var(--clan-magenta) !important;
}

.bg-clan-orange {
    background-color: var(--clan-orange) !important;
}

.bg-clan-yellow {
    background-color: var(--clan-yellow) !important;
}

.border-clan-primary {
    border-color: var(--clan-primary) !important;
}

.border-clan-secondary {
    border-color: var(--clan-secondary) !important;
}

.border-clan-pink {
    border-color: var(--clan-pink) !important;
}

.border-clan-dark-blue {
    border-color: var(--clan-dark-blue) !important;
}

.border-clan-purple {
    border-color: var(--clan-purple) !important;
}

.border-clan-magenta {
    border-color: var(--clan-magenta) !important;
}

.border-clan-orange {
    border-color: var(--clan-orange) !important;
}

.border-clan-yellow {
    border-color: var(--clan-yellow) !important;
}

/* Fonts */
.font-lato {
    font-family: var(--font-lato) !important;
}

.font-roboto-slab {
    font-family: var(--font-roboto-slab) !important;
}

/* Badges */
.badge-clan {
    background-color: var(--clan-primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

/* Form Elements */
.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 10px 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.menuLabel {
    font-weight: 700;
}

.btn-link {
    color: var(--clan-primary);
}

.btn-link:hover {
    color: var(--clan-pink);
}


/* Price Simulator Form */
.form-label {
    font-family: var(--font-roboto-slab);
    color: var(--clan-dark-blue);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0px;
}

.form-sublabel {
    font-family: var(--font-lato);
    color: #6b7280;
    font-size: 1.0rem;
    font-weight: 400;
    margin-bottom: 8px;
    display: block;
}

/* Sidebar */
.list-group-item.active {
    background-color: #6B7280;
    border-color: #6B7280;
    color: #ffffff;
    border-radius: 0.25rem;
    box-shadow: 0 2px 6px rgba(17, 24, 39, 0.35);
    font-weight: 600;
    font-family: var(--font-roboto-slab) !important;
}

.list-group-item.disabled a {
    pointer-events: none;
    cursor: default;
}

.list-group-item a {
    color: inherit;
    text-decoration: none;
}

.list-group-item a:hover {
    text-decoration: underline;
}

.list-group-item {
    cursor: pointer;
}

.list-group-item.disabled {
    cursor: not-allowed;
    color: #6B7280;
}

.list-group-item.disabled:hover {
    background-color: transparent;
    text-decoration: none;
}

.list-group-item.clickable a {
    cursor: pointer;
    /*color: var(--clan-primary);*/
    color: var(--clan-pink);
    font-weight: 600;

}

.list-group-item.active a {
    color: #ffffff !important;
    text-decoration: none;
}


.list-group-item.active a:hover {
    color: #ffffff !important;
    text-decoration: none;
}

/* Quote */
.quote-summary {
    background-color: var(--clan-light);
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.quote-summary h3 {
    font-family: var(--font-roboto-slab);
    color: var(--clan-dark-blue);
    font-weight: 700;
    margin-bottom: 16px;
}

.quote-summary p {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.quote-summary .quote-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clan-pink);
}

.pricing-card-title {
    font-family: var(--font-roboto-slab);
    color: var(--clan-dark-blue);
}

.card-header {
    background-color: var(--clan-light);
    border-bottom: 1px solid #d1d5db;
}

.pricing-card-title-highlight {
    font-family: var(--font-roboto-slab);
    font-weight: 700;
}

.pricing-card-product-name {
    font-family: var(--font-lato);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--clan-dark-blue);
    display: block;

}

.pricing-card-active-icon {
    color: var(--clan-pink);
    font-size: 1.2rem;
    line-height: 1.5;
}

.pricing-card-inactive-icon {
    color: #9CA3AF;
    font-size: 1.2rem;
    line-height: 1.5;
}

.pricing-card-header {
    background: linear-gradient(90deg, var(--clan-pink), var(--clan-secondary));
    border-bottom: 1px solid #d1d5db;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.pricing-card-header-normal {
    background-color: #E5E7EB;
    border-bottom: 1px solid #d1d5db;
    color: var(--clan-text);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.pricing-card-badge-choosen {
    background-color: var(--clan-pink);
    color: var(--clan-light);
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.pricing-card-badge-optional {
    background-color: #6B7280;
    color: var(--clan-light);
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.pricing-card-choose-btn {
    margin-top: 16px;
    width: 100%;
}

.section-title {
    font-family: var(--font-roboto-slab);
    color: var(--clan-dark-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    font-family: var(--font-lato);
    color: #6B7280;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 24px;
}

/* Quote Conditions Cards */
.condition-card {
    border: 1px solid #d1d5db;
    border-radius: 8px;

    margin-bottom: 16px;
    transition: box-shadow 0.3s ease;
    background-color: #fff;
}

.condition-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.condition-card-title {
    font-family: var(--font-roboto-slab);
    color: var(--clan-dark-blue);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.condition-card-description {
    font-family: var(--font-lato);
    color: #6B7280;
    font-size: 1rem;
    font-weight: 400;
}

.condition-card-highlight {
    font-weight: 700;
    color: var(--clan-text);
}

/* Termos e Condições */
.terms-and-conditions {
    font-family: var(--font-lato);
    color: var(--clan-text);
    line-height: 1.6;
}

.terms-and-conditions h1,
.terms-and-conditions h2,
.terms-and-conditions h3 {
    font-family: var(--font-roboto-slab);
    color: var(--clan-dark-blue);
    margin-top: 24px;
    margin-bottom: 16px;
}

.terms-and-conditions p {
    margin-bottom: 16px;
}

.terms-and-conditions .offcanvas-header {
    background: var(--clan-pink);
    color: #fff;
    font-family: var(--font-roboto-slab);
}

.terms-and-conditions .offcanvas-body {
    padding: 16px;
}

.terms-and-conditions .form-check-label {
    color: var(--clan-text);
}

.terms-and-conditions .link-close {
    color: var(--clan-light);
    text-decoration: none;
    font-size: 1.2rem;
}

/* Responsive Adjustments for Offcanvas */
@media (max-width: 768px) {
    .offcanvas {
        width: 100% !important;
    }
}

/* Responsive Adjustments for Offcanvas Quotes List */
@media (min-width: 769px) {
    .quotes-offcanvas {
        width: 25% !important;
    }
}

/* Quote List */
.quote-list-title {
    font-family: var(--font-roboto-slab);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--clan-pink);
}

/* Cost Structure Table */
.cost-structure th {
    color: var(--clan-dark-blue);
    font-family: var(--font-roboto-slab);
    font-weight: 700;
    font-size: 1.1rem;
}

.cost-structure td {
    font-family: var(--font-lato);
    color: var(--clan-text);
}

.totalRow {
    font-weight: 700;
}

.totalRow td {
    font-family: var(--font-roboto-slab);
    padding-top: 10px;
    padding-bottom: 10px;
}

.feeRow {
    font-weight: 700;
}
.feeRow td {
    font-family: var(--font-roboto-slab);
    color: var(--clan-pink);
}

/* terms-list styles */
.terms-list li {
    margin-bottom: 12px;
}

.table-header {
    background-color: var(--clan-light);
    color: var(--clan-dark-blue);
    font-family: var(--font-roboto-slab);
    font-weight: 700;
}

.table-card {
    border-bottom: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: #fff;
    transition: box-shadow 0.3s ease;
    font-size: 0.9rem !important;
}

.td-highlight {
    font-family: var(--font-roboto-slab);
    font-weight: 700;
    font-size: 1rem;
}

.td-highlight a {
    color: var(--clan-purple);
    text-decoration: none;
}

.td-highlight a:hover {
    color: var(--clan-pink);
}

.blind-cv-canvas {
    --bs-offcanvas-width: 90vw;
}

.matchTab .nav-link {
    font-family: var(--font-roboto-slab);
    color: var(--clan-dark-blue);
    font-weight: 700;
}

.matchTab .nav-link.active {
    color: var(--clan-pink);
}

.matchTab .nav-link:hover {
    color: var(--clan-purple);
}

.matchTabContent {
    padding: 16px;
    background-color: #fff;
    border: 1px solid #d1d5db;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.main-content-area {
    padding-top: 1rem;
    padding-bottom: 2rem;
    min-height: auto;
}

/* End of Clan CSS */


/* =========================================================
   MATCH UI SYSTEM
========================================================= */

/* Shared primitives */

.score-layout,
.interview-plan,
.candidate-summary-meta {
    display: grid;
}

.score-layout {
    gap: 1.5rem;
    grid-template-columns: 1fr 2fr;
}

@media (max-width: 991px) {
    .score-layout {
        grid-template-columns: 1fr;
    }
}

.interview-plan,
.candidate-summary-meta {
    gap: 1rem;
}

.score-card,
.matches-table-wrap,
.add-note-card,
.blind-cv-frame-card {
    background: var(--surface-0);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}

.score-card,
.add-note-card {
    padding: 1.25rem;
}

.score-card-main {
    background:
        radial-gradient(circle at top right, rgba(73, 29, 139, 0.08), transparent 30%),
        linear-gradient(180deg, var(--surface-0) 0%, var(--surface-1) 100%);
}

.score-card-header {
    margin-bottom: 1rem;
}

.score-eyebrow,
.candidate-meta-label,
.add-note-label,
.matches-table thead th {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: var(--text-eyebrow);
}

.score-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    margin-bottom: 0.35rem;
}

.score-title,
.clan-modal-title,
.quotes-offcanvas-title,
.blind-cv-title,
.add-note-offcanvas-title {
    font-family: var(--font-roboto-slab);
    font-weight: 700;
    color: var(--text-main);
}

.score-description,
.note-description,
.add-note-helper-text,
.quotes-offcanvas-empty-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.score-description,
.note-description,
.add-note-helper-text {
    margin-bottom: 1rem;
}

.score-supporting-text {
    color: #5f596d;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 520px;
}

/* Shared pills / badges */

.sourcing-pill,
.job-pill,
.table-status-pill,
.score-status,
.match-id-badge,
.table-score-badge,
.header-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sourcing-pill,
.job-pill,
.table-status-pill {
    background: var(--surface-3);
    color: var(--clan-secondary);
    font-weight: 700;
}

.job-pill,
.table-status-pill,
.score-status,
.match-id-badge,
.table-score-badge,
.header-icon-badge,
.match-back-link,
.clan-modal-btn,
.blind-cv-icon-btn,
.clan-modal-close,
.quotes-offcanvas-close,
.add-note-offcanvas-close,
.header-icon-btn,
.table-action-btn {
    border-radius: var(--radius-pill);
}

.sourcing-pill {
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    font-size: 1rem;
    min-height: 52px;
}

.job-pill,
.table-status-pill {
    padding: 0.55rem 0.9rem;
    font-size: 0.88rem;
    line-height: 1.3;
}

.table-status-pill {
    font-size: 0.84rem;
}

.score-status,
.table-score-badge {
    font-weight: 700;
}

.score-status {
    padding: 0.55rem 0.95rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.table-score-badge {
    min-width: 52px;
    height: 34px;
    padding: 0 0.75rem;
    font-size: 0.92rem;
}

.score-status.is-excellent,
.table-score-badge.is-excellent {
    background: var(--status-excellent-bg);
    color: var(--status-excellent-text);
}

.score-status.is-good,
.table-score-badge.is-good {
    background: var(--status-good-bg);
    color: var(--status-good-text);
}

.score-status.is-medium,
.table-score-badge.is-medium {
    background: var(--status-medium-bg);
    color: var(--status-medium-text);
}

.score-status.is-low,
.table-score-badge.is-low {
    background: var(--status-low-bg);
    color: var(--status-low-text);
}

/* Shared icon controls */

.candidate-meta-icon,
.interview-question-number,
.header-icon-btn,
.table-action-btn,
.blind-cv-icon-btn,
.clan-modal-close,
.quotes-offcanvas-close,
.add-note-offcanvas-close,
.match-back-link-icon,
.quotes-offcanvas-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-3);
    color: var(--clan-secondary);
    box-shadow: inset 0 0 0 1px var(--border-strong);
}

.candidate-meta-icon,
.interview-question-number,
.match-back-link-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
}

.candidate-meta-icon-highlight {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--clan-purple);
    color: var(--clan-light);
    box-shadow: inset 0 0 0 1px var(--border-strong);
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;    
}



.header-icon-btn,
.table-action-btn,
.blind-cv-icon-btn,
.clan-modal-close,
.quotes-offcanvas-close,
.add-note-offcanvas-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.header-icon-btn {
    width: 46px;
    height: 46px;
    text-decoration: none;
    position: relative;
}

.table-action-btn {
    text-decoration: none;
}

.header-icon-btn:hover,
.table-action-btn:hover:not(:disabled),
.blind-cv-icon-btn:hover,
.clan-modal-close:hover,
.quotes-offcanvas-close:hover,
.add-note-offcanvas-close:hover {
    background: var(--surface-0);
    color: var(--text-main);
    transform: translateY(-1px);
    box-shadow:
        inset 0 0 0 1px var(--border-hover),
        var(--shadow-float);
}

.header-icon-btn:focus,
.table-action-btn:focus,
.blind-cv-icon-btn:focus,
.clan-modal-close:focus,
.quotes-offcanvas-close:focus,
.add-note-offcanvas-close:focus,
.match-back-link:focus,
.match-tabs .nav-link:focus,
.add-note-textarea:focus {
    outline: 0;
    box-shadow:
        inset 0 0 0 1px var(--border-hover),
        var(--focus-ring);
}

.table-action-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.blind-cv-icon-btn .material-symbols-outlined,
.clan-modal-close .material-symbols-outlined,
.quotes-offcanvas-close .material-symbols-outlined,
.add-note-offcanvas-close .material-symbols-outlined,
.match-back-link .material-symbols-outlined,
.quotes-offcanvas-empty-icon .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
}

.quotes-offcanvas-empty-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
}

.quotes-offcanvas-empty-icon .material-symbols-outlined {
    font-size: 26px;
}

/* Score */

.score-hero {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.score-ring {
    --size: 180px;
    --thickness: 16px;
    --fill: calc(var(--score) * 1%);
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: conic-gradient(var(--clan-secondary) var(--fill), var(--border-soft) 0);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.score-ring-inner {
    width: calc(var(--size) - (var(--thickness) * 2));
    height: calc(var(--size) - (var(--thickness) * 2));
    background: var(--surface-0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: inset 0 0 0 1px #f1edf7;
}

.score-value {
    font-size: 3rem;
    line-height: 1;
    font-weight: 800;
    color: var(--text-main);
}

.score-total {
    margin-top: 0.2rem;
    font-size: 0.95rem;
    color: var(--text-soft);
}

.score-meta {
    flex: 1;
    min-width: 240px;
}

/* Interview + summary */

.interview-question,
.candidate-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    background: var(--surface-1);
    transition: all 0.2s ease;
}

.interview-question:hover {
    background: #f8f5fd;
    border-color: var(--border-hover);
}

.interview-question-number {
    font-weight: 800;
    font-size: 0.95rem;
}

.interview-question-content {
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.65;
    padding-top: 0.35rem;
}

.candidate-summary-card {
    height: 100%;
}

.candidate-summary-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.candidate-summary-name {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-soft);
}

.candidate-meta-item {
    gap: 0.9rem;
    padding: 0.95rem 1rem;
}

.candidate-meta-content,
.candidate-cell,
.contact-cell,
.date-cell,
.table-score-cell,
.alert-cell {
    display: flex;
    flex-direction: column;
}

.candidate-meta-content {
    gap: 0.2rem;
    min-width: 0;
}

.candidate-meta-label {
    font-size: 0.78rem;
}

.candidate-meta-value {
    font-size: 0.98rem;
    line-height: 1.5;
    color: var(--text-body);
    word-break: break-word;
}

/* Tabs */

.match-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    border: 0;
    padding: 0.35rem;
    margin-bottom: 1.5rem;
    background: var(--surface-2);
    border-radius: var(--radius-lg);
}

.match-tabs .nav-item {
    margin: 0;
}

.match-tabs .nav-link {
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-muted);
    font-weight: 700;
    padding: 0.9rem 1.15rem;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 52px;
    transition: all 0.2s ease;
}

.match-tabs .nav-link i {
    font-size: 0.95rem;
    opacity: 0.9;
}

.match-tabs .nav-link:hover {
    background: rgba(255, 255, 255, 0.75);
    color: var(--clan-secondary);
}

.match-tabs .nav-link.active {
    background: var(--surface-0);
    color: var(--text-main);
    box-shadow: var(--shadow-float);
}

/* Header actions */

.header-actions {
    display: flex;
    align-items: center;
}

.header-icon-btn i {
    font-size: 1rem;
}

.header-icon-badge {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--clan-pink);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    border: 2px solid var(--surface-0);
    line-height: 1;
}

.header-icon-btn-logout:hover {
    color: var(--color-red);
}

/* Tables */

.matches-table-wrap {
    overflow: hidden;
}

.matches-table {
    margin-bottom: 0 !important;
    --bs-table-bg: transparent;
    --bs-table-hover-bg: #faf7fe;
    --bs-table-border-color: var(--border-softer);
}

.matches-table thead th {
    background: var(--surface-2);
    font-size: 0.78rem;
    font-weight: 800;
    border-bottom: 1px solid var(--border-soft);
    padding: 1rem;
    vertical-align: middle;
    white-space: nowrap;
}

.matches-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-softer);
    vertical-align: middle;
    color: var(--text-body);
}

.matches-table tbody tr:last-child td {
    border-bottom: 0;
}

.matches-table tbody tr {
    transition: background 0.2s ease;
}

.match-id-badge {
    min-width: 42px;
    height: 42px;
    padding: 0 0.7rem;
    font-weight: 800;
    font-size: 0.9rem;
}

.candidate-cell {
    gap: 0.2rem;
}

.candidate-name-link {
    color: var(--text-main);
    font-weight: 800;
    text-decoration: none;
    line-height: 1.35;
}

.candidate-name-link:hover {
    color: var(--clan-secondary);
    text-decoration: underline;
}

.candidate-subtitle {
    color: var(--text-soft);
    font-size: 0.85rem;
}

.candidate-subtitle-alert {
    color: var(--clan-pink);
    font-size: 0.95rem;
    font-weight: 800;
}

.contact-cell {
    gap: 0.45rem;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #5b556a;
    font-size: 0.94rem;
    line-height: 1.4;
    flex-wrap: nowrap;
}

.contact-line span {
    white-space: nowrap;
}

.contact-line i {
    width: 16px;
    color: var(--clan-secondary);
    flex-shrink: 0;
}

.date-cell {
    gap: 0.15rem;
}

.date-main {
    font-weight: 700;
    color: var(--text-body);
    white-space: nowrap;
}

.alert-main {
    font-weight: 700;
    color: var(--clan-pink);
    white-space: nowrap;
}

.date-sub,
.table-score-label {
    font-size: 0.85rem;
    color: var(--text-soft);
    line-height: 1.2;
}

.table-score-cell {
    align-items: flex-start;
    gap: 0.45rem;
}

.table-actions-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.table-actions-inline .table-action-btn {
    flex-shrink: 0;
}

/* Back link */

.match-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    width: fit-content;
    padding: 0.55rem 0.9rem 0.55rem 0.55rem;
    background: var(--surface-2);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
}

.match-back-link:hover {
    background: var(--surface-0);
    color: var(--clan-secondary);
    box-shadow:
        inset 0 0 0 1px var(--border-hover),
        var(--shadow-float);
}

.match-back-link-icon {
    flex-shrink: 0;
}

.match-back-link-text {
    line-height: 1.2;
}

/* Modal */

.clan-modal {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-card);
    background: var(--surface-0);
    box-shadow: 0 20px 50px rgba(0, 29, 108, 0.14);
    overflow: hidden;
}

.clan-modal-header,
.quotes-offcanvas-header,
.blind-cv-header,
.add-note-offcanvas-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid var(--border-soft);
    background:
        radial-gradient(circle at top right, rgba(73, 29, 139, 0.08), transparent 30%),
        linear-gradient(180deg, var(--surface-0) 0%, var(--surface-1) 100%);
}

.clan-modal-body,
.quotes-offcanvas-body,
.add-note-offcanvas-body {
    padding: 1.25rem;
}

.clan-modal-body {
    color: var(--text-body);
    font-size: 0.98rem;
    line-height: 1.6;
}

.clan-modal-footer {
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.clan-modal-btn {
    min-height: 42px;
    padding: 0.65rem 1rem;
    border: 0;
    font-weight: 700;
    transition: all 0.2s ease;
}

.clan-modal-btn-secondary {
    background: var(--surface-2);
    color: var(--text-main);
    box-shadow: inset 0 0 0 1px var(--border-strong);
}

.clan-modal-btn-secondary:hover {
    background: var(--surface-0);
    color: var(--clan-secondary);
    box-shadow:
        inset 0 0 0 1px var(--border-hover),
        var(--shadow-float);
}

.clan-modal-btn-primary {
    background: var(--clan-secondary);
    color: #fff;
}

.clan-modal-btn-primary:hover {
    background: var(--clan-primary);
    color: #fff;
    box-shadow: var(--shadow-float);
}

/* Offcanvas common */

.quotes-offcanvas,
.add-note-offcanvas {
    background: var(--surface-1);
    border-left: 1px solid var(--border-soft);
}

.blind-cv-canvas {
    --bs-offcanvas-width: 90vw;
    background: var(--surface-1);
    border-right: 1px solid var(--border-soft);
}

.blind-cv-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.quotes-offcanvas-empty {
    min-height: 180px;
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-lg);
    background: var(--surface-0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    text-align: center;
    padding: 1.5rem;
}

.blind-cv-body {
    height: calc(100vh - 86px);
    padding: 1rem;
    background: var(--surface-1);
}

.blind-cv-frame-card {
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.blind-cv-frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #fff;
}

/* Add note */

.add-note-textarea {
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    min-height: 160px;
    padding: 0.9rem 1rem;
    color: var(--text-body);
    background: var(--surface-0);
    resize: vertical;
    box-shadow: none;
}

.add-note-textarea::placeholder {
    color: var(--text-soft);
}

.add-note-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* DataTables */

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    min-height: 42px;
    padding: 0.45rem 0.8rem;
    box-shadow: none;
}

div.dt-container div.dt-length {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

div.dt-container div.dt-length select {
    width: 100px !important;
    min-width: 100px !important;
}

.dataTables_wrapper .dataTables_filter input:focus,
.dataTables_wrapper .dataTables_length select:focus {
    border-color: #cdbce9;
    box-shadow: 0 0 0 0.2rem rgba(73, 29, 139, 0.12);
    outline: 0;
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_paginate {
    padding: 1rem 0.25rem 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.dataTables_wrapper .pagination .page-link {
    border: 1px solid var(--border-strong);
    color: var(--clan-secondary);
    border-radius: 12px !important;
    margin: 0 0.15rem;
    min-width: 40px;
    text-align: center;
}

.dataTables_wrapper .pagination .page-item.active .page-link {
    background: var(--clan-secondary);
    border-color: var(--clan-secondary);
    color: #fff;
}

/* Responsive */

@media (max-width: 1199px) {
    .candidate-summary-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 991px) {
    .matches-table thead th,
    .matches-table tbody td {
        padding: 0.85rem 0.8rem;
    }

    .candidate-name-link {
        font-size: 0.95rem;
    }

    .job-pill,
    .table-status-pill,
    .table-score-badge {
        white-space: nowrap;
    }
}

    .candidate-name-link {
        font-size: 1.1rem;
    }

@media (max-width: 768px) {
    .score-card,
    .add-note-card {
        padding: 1rem;
    }

    .score-ring {
        --size: 150px;
        --thickness: 14px;
    }

    .score-value {
        font-size: 2.4rem;
    }

    .interview-question {
        padding: 0.9rem;
        gap: 0.85rem;
    }

    .interview-question-number {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 0.9rem;
    }

    .interview-question-content {
        font-size: 0.95rem;
        padding-top: 0.2rem;
    }

    .match-tabs {
        gap: 0.5rem;
        padding: 0.3rem;
    }

    .match-tabs .nav-item {
        flex: 1 1 100%;
    }

    .match-tabs .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 0.85rem 1rem;
    }

    .blind-cv-canvas {
        --bs-offcanvas-width: 100vw;
    }

    .blind-cv-header {
        padding: 1rem;
    }

    .blind-cv-body {
        height: calc(100vh - 78px);
        padding: 0.75rem;
    }

    .add-note-offcanvas-body,
    .quotes-offcanvas-body,
    .clan-modal-body {
        padding: 1rem;
    }

    .add-note-actions {
        flex-direction: column;
    }

    .add-note-actions .clan-modal-btn {
        width: 100%;
        justify-content: center;
    }
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background:
        radial-gradient(circle at top left, rgba(73, 29, 139, 0.10), transparent 25%),
        radial-gradient(circle at top right, rgba(216, 27, 96, 0.08), transparent 20%),
        linear-gradient(180deg, #f8f8fc 0%, #f2f4fa 100%);
}

.login-shell {
    width: 100%;
    max-width: 460px;
}

.login-alert {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.login-screen {
    width: 100%;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-card);
    background:
        radial-gradient(circle at top right, rgba(73, 29, 139, 0.08), transparent 30%),
        linear-gradient(180deg, var(--surface-0) 0%, var(--surface-1) 100%);
    box-shadow: 0 20px 50px rgba(0, 29, 108, 0.10);
    overflow: hidden;
}

.login-screen-body {
    padding: 2rem;
}

.login-brand-block {
    margin-bottom: 1.75rem;
}

.login-brand-logo {
    height: 48px;
    width: auto;
    margin-bottom: 1.25rem;
}

.login-title {
    font-family: var(--font-roboto-slab);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--clan-primary);
}

.login-subtitle {
    margin: 0.75rem 0 0;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

.login-form {
    margin-top: 0.5rem;
}

.login-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-eyebrow);
}

.login-input {
    min-height: 52px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    color: var(--text-body);
    background: var(--surface-0);
    box-shadow: none;
}

.login-input:focus {
    border-color: var(--border-hover);
    box-shadow: var(--focus-ring);
}

.login-helper-link {
    color: var(--clan-secondary);
    font-weight: 700;
    text-decoration: none;
}

.login-helper-link:hover {
    color: var(--clan-primary);
    text-decoration: underline;
}

.login-submit-btn {
    min-height: 52px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .login-page {
        padding: 1rem;
    }

    .login-screen-body {
        padding: 1.5rem;
    }

    .login-title {
        font-size: 1.75rem;
    }
}

.match-timeline {
    position: relative;
    display: grid;
    gap: 1rem;
}

.match-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 23px;
    width: 2px;
    background: var(--border-soft);
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 1rem;
    align-items: flex-start;
}

.timeline-marker {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--surface-3);
    color: var(--clan-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px var(--border-strong);
    position: relative;
    z-index: 1;
}

.timeline-marker .material-symbols-outlined {
    font-size: 22px;
    line-height: 1;
}

.timeline-content {
    background: var(--surface-1);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 1rem 1.1rem;
}

.timeline-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.timeline-type-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    padding: 0.45rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
}

.timeline-type-application {
    background: rgba(73, 29, 139, 0.10);
    color: var(--clan-secondary);
}

.timeline-type-cv {
    background: rgba(0, 29, 108, 0.10);
    color: var(--clan-primary);
}

.timeline-type-score {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
}

.timeline-type-note {
    background: rgba(255, 193, 7, 0.18);
    color: #8a6500;
}

.timeline-type-status {
    background: #cfcfcf;
    color: #000000;
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--text-soft);
    font-weight: 700;
}

.timeline-title {
    color: var(--text-main);
    font-family: var(--font-roboto-slab);
    font-size: 1.05rem;
    font-weight: 700;
}

.timeline-description {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.6;
}

.timeline-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
}

.timeline-meta-label {
    color: var(--text-soft);
    font-weight: 700;
}

.timeline-meta-value {
    color: var(--clan-secondary);
    font-weight: 700;
}

.timeline-placeholder-card {
    min-height: 220px;
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-lg);
    background: var(--surface-1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    text-align: center;
    padding: 1.5rem;
}

.timeline-placeholder-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--surface-3);
    color: var(--clan-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px var(--border-strong);
    font-size: 1.2rem;
}

.timeline-placeholder-title {
    color: var(--text-main);
    font-family: var(--font-roboto-slab);
    font-weight: 700;
}

.timeline-placeholder-subtext {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 640px;
}

@media (max-width: 768px) {
    .match-timeline::before {
        left: 19px;
    }

    .timeline-item {
        grid-template-columns: 38px 1fr;
        gap: 0.85rem;
    }

    .timeline-marker {
        width: 38px;
        height: 38px;
    }

    .timeline-marker .material-symbols-outlined {
        font-size: 20px;
    }

    .timeline-content {
        padding: 0.9rem 1rem;
    }
}

.candidate-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.candidate-status-btn {
    min-height: 36px;
    padding: 0.45rem 0.8rem;
    font-size: 0.85rem;
}

.change-status-offcanvas {
    --bs-offcanvas-width: min(420px, 95vw);
    background: var(--surface-1);
    border-left: 1px solid var(--border-soft);
}

.change-status-offcanvas-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid var(--border-soft);
    background:
        radial-gradient(circle at top right, rgba(73, 29, 139, 0.08), transparent 30%),
        linear-gradient(180deg, var(--surface-0) 0%, var(--surface-1) 100%);
}

.change-status-offcanvas-title {
    font-family: var(--font-roboto-slab);
    font-weight: 700;
    color: var(--text-main);
}

.change-status-offcanvas-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--surface-3);
    color: var(--clan-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px var(--border-strong);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.change-status-offcanvas-close:hover {
    background: var(--surface-0);
    color: var(--text-main);
    transform: translateY(-1px);
    box-shadow:
        inset 0 0 0 1px var(--border-hover),
        var(--shadow-float);
}

.change-status-offcanvas-close:focus {
    outline: 0;
    box-shadow:
        inset 0 0 0 1px var(--border-hover),
        var(--focus-ring);
}

.change-status-offcanvas-close .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
}

.change-status-offcanvas-body {
    padding: 1.25rem;
}

.change-status-card {
    background: var(--surface-0);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 1.25rem;
}

.change-status-helper-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.change-status-label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-eyebrow);
    margin-bottom: 0.5rem;
}

.change-status-select,
.change-status-textarea {
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    color: var(--text-body);
    background: var(--surface-0);
    box-shadow: none;
}

.change-status-select {
    min-height: 52px;
    padding: 0.85rem 1rem;
}

.change-status-textarea {
    min-height: 140px;
    padding: 0.9rem 1rem;
    resize: vertical;
}

.change-status-select:focus,
.change-status-textarea:focus {
    border-color: var(--border-hover);
    box-shadow: var(--focus-ring);
}

.change-status-textarea::placeholder {
    color: var(--text-soft);
}

.change-status-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .change-status-offcanvas-body {
        padding: 1rem;
    }

    .change-status-card {
        padding: 1rem;
    }

    .change-status-actions {
        flex-direction: column;
    }

    .change-status-actions .clan-modal-btn {
        width: 100%;
        justify-content: center;
    }
}

.matches-empty-state {
    min-height: 320px;
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-card);
    background:
        radial-gradient(circle at top right, rgba(73, 29, 139, 0.08), transparent 30%),
        linear-gradient(180deg, var(--surface-0) 0%, var(--surface-1) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    text-align: center;
    padding: 2rem;
    box-shadow: var(--shadow-card);
}

.matches-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--surface-3);
    color: var(--clan-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px var(--border-strong);
}

.matches-empty-icon .material-symbols-outlined {
    font-size: 30px;
    line-height: 1;
}

.matches-empty-title {
    color: var(--text-main);
    font-family: var(--font-roboto-slab);
    font-weight: 700;
}

.matches-empty-text {
    max-width: 620px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.kanban-board {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, 1fr);
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    /* scrollbar sempre visível em desktop */
    scrollbar-width: thin;
    scrollbar-color: var(--border-strong) transparent;
}

.kanban-column {
    background: var(--surface-2);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-card);
    min-height: 640px;
    display: flex;
    flex-direction: column;
}

.kanban-column-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-soft);
    background:
        radial-gradient(circle at top right, rgba(73, 29, 139, 0.08), transparent 30%),
        linear-gradient(180deg, var(--surface-0) 0%, var(--surface-1) 100%);
    border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.kanban-column-title {
    font-family: var(--font-roboto-slab);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
}

.kanban-column-count {
    min-width: 34px;
    height: 34px;
    padding: 0 0.75rem;
    border-radius: var(--radius-pill);
    background: var(--surface-3);
    color: var(--clan-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px var(--border-strong);
}

.kanban-column-body {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    align-content: start;
}

.kanban-card {
    background: var(--surface-0);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 0;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    overflow: hidden;
    cursor: grab;
}

.kanban-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-float);
}

/* Faixa colorida de score no topo do card */
.kanban-card-score-bar {
    height: 4px;
    width: 100%;
    flex-shrink: 0;
}

.kanban-card.is-excellent .kanban-card-score-bar { background: var(--status-excellent-text, #1a6630); }
.kanban-card.is-good      .kanban-card-score-bar { background: var(--status-good-text, #0a6e8a); }
.kanban-card.is-medium    .kanban-card-score-bar { background: var(--status-medium-text, #7d5200); }
.kanban-card.is-low       .kanban-card-score-bar { background: var(--status-low-text, #8b1a1a); }

.kanban-card-inner {
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex: 1;
}

/* Linha do topo: vaga + score */
.kanban-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.kanban-card-job {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--clan-secondary, #6c3fc5);
    line-height: 1.3;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.kanban-card-score {
    flex-shrink: 0;
    min-width: 36px;
    height: 28px;
    padding: 0 0.5rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1;
}

.kanban-card.is-excellent .kanban-card-score {
    background: var(--status-excellent-bg);
    color: var(--status-excellent-text);
}
.kanban-card.is-good .kanban-card-score {
    background: var(--status-good-bg);
    color: var(--status-good-text);
}
.kanban-card.is-medium .kanban-card-score {
    background: var(--status-medium-bg);
    color: var(--status-medium-text);
}
.kanban-card.is-low .kanban-card-score {
    background: var(--status-low-bg);
    color: var(--status-low-text);
}

.kanban-card-main {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.kanban-card-name {
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.35;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kanban-card-name:hover {
    color: var(--clan-secondary);
    text-decoration: underline;
}

.kanban-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.kanban-card-meta-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.kanban-card-meta-row .material-symbols-outlined {
    font-size: 13px;
    flex-shrink: 0;
    opacity: 0.6;
}

.kanban-card-meta-row.is-alert {
    color: #c0392b;
    font-weight: 600;
}

.kanban-card-meta-row.is-alert .material-symbols-outlined {
    opacity: 1;
}

/* Separador + acções */
.kanban-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    padding: 0.5rem 0.75rem 0.6rem;
    border-top: 1px solid var(--border-soft);
    background: var(--surface-1);
}

.kanban-card-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.kanban-empty-column {
    min-height: 160px;
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-lg);
    background: var(--surface-0);
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    padding: 1rem;
}

.kanban-empty-column .material-symbols-outlined {
    font-size: 28px;
    line-height: 1;
    color: var(--clan-secondary);
}

@media (max-width: 768px) {
    .kanban-board {
        grid-auto-columns: 82vw;
        gap: 0.85rem;
        padding-bottom: 0.75rem;
        padding-right: 1rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .kanban-column {
        min-height: auto;
        scroll-snap-align: start;
        border-radius: 18px;
    }

    .kanban-column-header {
        position: sticky;
        top: 0;
        z-index: 2;
        padding: 0.9rem 1rem;
    }

    .kanban-column-title {
        font-size: 1rem;
        line-height: 1.2;
    }

    .kanban-column-count {
        min-width: 32px;
        height: 32px;
        padding: 0 0.65rem;
        font-size: 0.95rem;
    }

    .kanban-column-body {
        padding: 0.85rem;
        gap: 0.85rem;
    }

    .kanban-card {
        border-radius: 16px;
    }

    .kanban-card-inner {
        padding: 0.75rem 0.85rem;
        gap: 0.6rem;
    }

    .kanban-card-job {
        font-size: 0.72rem;
    }

    .kanban-card-score {
        min-width: 32px;
        height: 26px;
        font-size: 0.78rem;
    }

    .kanban-card-name {
        font-size: 0.9rem;
    }

    .kanban-card-footer {
        padding: 0.4rem 0.6rem 0.5rem;
    }

    .kanban-card-actions .table-action-btn {
        width: 38px;
        height: 38px;
    }

    .kanban-empty-column {
        min-height: 120px;
        padding: 1rem;
        border-radius: 16px;
    }

    .kanban-empty-column .material-symbols-outlined {
        font-size: 24px;
    }
}

.kanban-board::-webkit-scrollbar {
    height: 6px;
}

.kanban-board::-webkit-scrollbar-track {
    background: var(--surface-2);
    border-radius: 99px;
}

.kanban-board::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 99px;
}

.kanban-board::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

@media (max-width: 768px) {
    .kanban-board::-webkit-scrollbar {
        display: none;
    }

    .kanban-board {
        scrollbar-width: none;
    }
}

.kanban-mobile-hint {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

.kanban-card,
.kanban-card-top,
.kanban-card-main,
.kanban-card-meta,
.kanban-card-meta .contact-line,
.kanban-card-meta .contact-line span {
    min-width: 0;
}

.kanban-card-meta .contact-line span {
    white-space: normal;
    overflow-wrap: anywhere;
}

.view-switcher {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.view-switcher-label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-eyebrow);
}

.view-switcher-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem;
    background: var(--surface-2);
    border-radius: var(--radius-pill);
}

.view-switcher-pill {
    min-height: 40px;
    padding: 0.55rem 0.9rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
}

.view-switcher-pill:hover {
    background: var(--surface-0);
    color: var(--clan-secondary);
    box-shadow: var(--shadow-float);
}

.view-switcher-pill.is-active {
    background: var(--surface-0);
    color: var(--text-main);
    box-shadow: var(--shadow-card);
}

.view-switcher-pill i {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .view-switcher {
        align-items: flex-start;
        flex-direction: column;
    }
}

.delete-note-content {
    color: var(--text-body);
    font-size: 0.98rem;
    line-height: 1.6;
}

.delete-note-offcanvas {
    background: var(--surface-1);
    border-left: 1px solid var(--border-soft);
}

.delete-note-offcanvas-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid var(--border-soft);
    background:
        radial-gradient(circle at top right, rgba(73, 29, 139, 0.08), transparent 30%),
        linear-gradient(180deg, var(--surface-0) 0%, var(--surface-1) 100%);
}

.delete-note-offcanvas-title {
    font-family: var(--font-roboto-slab);
    font-weight: 700;
    color: var(--text-main);
}

.delete-note-offcanvas-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--surface-3);
    color: var(--clan-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px var(--border-strong);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.delete-note-offcanvas-close:hover {
    background: var(--surface-0);
    color: var(--text-main);
    transform: translateY(-1px);
    box-shadow:
        inset 0 0 0 1px var(--border-hover),
        var(--shadow-float);
}

.delete-note-offcanvas-close:focus {
    outline: 0;
    box-shadow:
        inset 0 0 0 1px var(--border-hover),
        var(--focus-ring);
}

.delete-note-offcanvas-close .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
}

.delete-note-offcanvas-body {
    padding: 1.25rem;
}

.delete-note-card {
    background: var(--surface-0);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 1.25rem;
}

.delete-note-helper-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    white-space: normal;
    overflow-wrap: anywhere;
}

.delete-note-content {
    margin-bottom: 1.25rem;
    padding: 1rem;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    background: var(--surface-1);
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.delete-note-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.clan-modal-btn-danger {
    background: var(--color-red);
    color: #fff;
}

.clan-modal-btn-danger:hover {
    background: #dc2626;
    color: #fff;
    box-shadow: var(--shadow-float);
}

@media (max-width: 768px) {
    .delete-note-offcanvas-body {
        padding: 1rem;
    }

    .delete-note-card {
        padding: 1rem;
    }

    .delete-note-actions {
        flex-direction: column;
    }

    .delete-note-actions .clan-modal-btn {
        width: 100%;
        justify-content: center;
    }
}



.matches-filters {
    padding: 1rem;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-card);
    background:
        radial-gradient(circle at top right, rgba(73, 29, 139, 0.06), transparent 30%),
        linear-gradient(180deg, var(--surface-0) 0%, var(--surface-1) 100%);
    box-shadow: var(--shadow-card);
}

.matches-filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 1rem;
    align-items: end;
}

.matches-filter-item {
    min-width: 0;
}

.matches-filter-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-eyebrow);
}

.matches-filter-select {
    min-height: 48px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    background: var(--surface-0);
    color: var(--text-body);
    box-shadow: none;
}

.matches-filter-select:focus {
    border-color: var(--border-hover);
    box-shadow: var(--focus-ring);
}

.matches-filter-actions {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 991px) {
    .matches-filters-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .matches-filters-grid {
        grid-template-columns: 1fr;
    }

    .matches-filter-actions .clan-modal-btn {
        width: 100%;
    }
}

.matches-count {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 700;
}

.table-alert-pill {
    display: inline-flex;
    align-items: center;
    background-color: var(--clan-pink);
    color: #fff;
    gap: 0.45rem;
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
}

.table-alert-pill.no-alert {
    /* no background, just text with reduced opacity */
    background: var(--clan-light);
    color: var(--clan-text);
}

.candidate-meta-value-highlight {
    color: var(--clan-pink);
    font-weight: 800;
}

.alert-card {
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.alert-card:hover {
    background-color: #f8f9fa;
}

.alert-card-overdue {
    background-color: #fff5f5;
}

.alert-badge-count {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    padding: 0 5px;
    background: #dc3545;
    color: #fff;
    font-weight: 700;
}

.alert-card .clan-modal-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-decoration: none;
}


.active-filters-bar {
    margin-top: 12px;
}

.active-filters-label {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #d9dee7;
    background: #fff;
    color: #1f2937;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.active-filter-chip:hover {
    background: #f5f7fa;
    border-color: #c8d0db;
}

.active-filter-chip-close {
    font-size: 16px;
    line-height: 1;
    opacity: 0.7;
}

/* ─── Kanban drag-and-drop ───────────────────────────────────────── */

.kanban-card--drag {
    opacity: 0.95;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.10);
    transform: rotate(1.5deg) scale(1.02);
    cursor: grabbing !important;
    z-index: 9999;
}

.kanban-card--ghost {
    opacity: 0.35;
    background: var(--surface-2);
    border: 2px dashed var(--border-strong);
    box-shadow: none;
}

.kanban-card--chosen {
    cursor: grab;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.kanban-card--saving {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.kanban-card--saving::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: kanban-saving-shimmer 1.2s linear infinite;
}

@keyframes kanban-saving-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.kanban-column-body.sortable-over {
    background: var(--surface-2);
    border-radius: var(--radius-lg);
    outline: 2px dashed var(--border-strong);
    outline-offset: -2px;
}

.kanban-drag-toast {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    animation: kanban-toast-in 0.2s ease;
}

.kanban-drag-toast--success {
    background: var(--surface-success, #e6f4ea);
    color: var(--text-success, #1a6630);
    border: 1px solid var(--border-success, #a8d5b0);
}

.kanban-drag-toast--error {
    background: var(--surface-danger, #fce8e8);
    color: var(--text-danger, #8b1a1a);
    border: 1px solid var(--border-danger, #f0aaaa);
}

@keyframes kanban-toast-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.kanban-card[data-match-id] {
    cursor: grab;
}

.kanban-card[data-match-id] .kanban-card-actions,
.kanban-card[data-match-id] a,
.kanban-card[data-match-id] button {
    cursor: pointer;
}

/* ─── Status quick-change (lista) ───────────────────────────────── */

.status-quick-change {
    position: relative;
    display: inline-block;
}

.status-quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.65rem;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-pill);
    background: var(--surface-1);
    color: var(--text-main);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.status-quick-btn:hover {
    background: var(--surface-2);
    border-color: var(--border-strong);
}

.status-quick-btn.is-saving {
    opacity: 0.6;
    cursor: wait;
}

.status-quick-icon {
    font-size: 0.65rem;
    opacity: 0.5;
    transition: transform 0.15s;
}

.status-quick-dropdown {
    position: fixed;
    z-index: 9999;
    min-width: 190px;
    background: var(--surface-0);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-card);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 0.35rem;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.status-quick-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.45rem 0.65rem;
    border: none;
    border-radius: var(--radius-lg);
    background: transparent;
    color: var(--text-main);
    font-size: 0.85rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.1s;
}

.status-quick-option:hover {
    background: var(--surface-2);
}

.status-quick-option.is-current {
    color: var(--clan-secondary, #6c3fc5);
    font-weight: 600;
}

.status-quick-check {
    width: 14px;
    font-size: 0.75rem;
    color: var(--clan-secondary, #6c3fc5);
    flex-shrink: 0;
}

/* ─── Alterar estado — secções numeradas ────────────────────────── */

.cs-section {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.cs-section--last {
    border-bottom: none;
    padding-bottom: 0;
}

.cs-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cs-section-number {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--clan-secondary, #6c3fc5);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cs-section-number--optional {
    background: var(--surface-3);
    color: var(--text-muted);
}

.cs-section-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.cs-section-required {
    margin-left: 0.4rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--clan-secondary, #6c3fc5);
    background: rgba(108, 63, 197, 0.08);
    padding: 0.1rem 0.5rem;
    border-radius: var(--radius-pill);
}

.cs-section-optional {
    margin-left: 0.4rem;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
}

.cs-followup-card {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface-0);
}

.cs-followup-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
}

.cs-followup-toggle:hover {
    background: var(--surface-1);
}

.cs-followup-toggle-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cs-followup-icon {
    font-size: 20px;
    color: var(--clan-secondary, #6c3fc5);
    flex-shrink: 0;
}

.cs-followup-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.3;
}

.cs-followup-sub {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 0.1rem;
}

.cs-followup-switch {
    width: 40px;
    height: 22px;
    border-radius: 11px;
    background: var(--border-strong);
    position: relative;
    flex-shrink: 0;
    transition: background 0.2s;
}

.cs-followup-switch.is-on {
    background: var(--clan-secondary, #6c3fc5);
}

.cs-followup-switch-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.cs-followup-switch.is-on .cs-followup-switch-thumb {
    transform: translateX(18px);
}

.cs-followup-date {
    padding: 0.9rem 1rem;
    border-top: 1px solid var(--border-soft);
    background: var(--surface-1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* ─── Score histogram ────────────────────────────────────────────── */

.score-histogram {
    display: flex;
    gap: 6px;
    height: 72px;
    align-items: flex-end;
    margin-bottom: 4px;
}

.score-histogram-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: opacity 0.15s;
    height: 100%;
}

.score-histogram-bar:hover { opacity: 0.8; }
.score-histogram-bar.is-empty { opacity: 0.35; cursor: default; pointer-events: none; }
.score-histogram-bar.is-active .score-histogram-fill { outline: 2px solid var(--text-main); outline-offset: 2px; }

.score-histogram-fill {
    width: 100%;
    border-radius: 4px 4px 0 0;
    min-height: 4px;
    transition: height 0.2s ease;
}

.score-histogram-bar.is-excellent .score-histogram-fill { background: #22a06b; }
.score-histogram-bar.is-good     .score-histogram-fill { background: #79e2f2; }
.score-histogram-bar.is-medium   .score-histogram-fill { background: #f5a623; }
.score-histogram-bar.is-low      .score-histogram-fill { background: #e5484d; }

.score-histogram-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1;
    white-space: nowrap;
}

.score-histogram-count {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
}

/* ─── Zero-results state ─────────────────────────────────────────── */

.filter-zero-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 1.5rem;
    gap: 0.75rem;
}

.filter-zero-icon .material-symbols-outlined {
    font-size: 48px;
    color: var(--text-muted);
    opacity: 0.5;
}

.filter-zero-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
}

.filter-zero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
}

.filter-zero-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
    background: var(--surface-2);
    border: 1px solid var(--border-soft);
    font-size: 0.8rem;
    color: var(--text-body);
}

/* ─── Kanban scroll wrapper (desktop) ───────────────────────────── */

.kanban-board-wrap {
    position: relative;
}

/* Scrollbar espelho no topo */
.kanban-scrollbar-top {
    overflow-x: auto;
    overflow-y: hidden;
    height: 8px;
    margin-bottom: 4px;
}

.kanban-scrollbar-top-inner {
    height: 1px;
}

.kanban-scrollbar-top::-webkit-scrollbar { height: 6px; }
.kanban-scrollbar-top::-webkit-scrollbar-track { background: var(--surface-2); border-radius: 99px; }
.kanban-scrollbar-top::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 99px; }
.kanban-scrollbar-top::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

.kanban-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    animation: kanban-hint-pulse 2s ease-in-out infinite;
}

.kanban-scroll-hint .material-symbols-outlined {
    font-size: 16px;
    line-height: 1;
}

@keyframes kanban-hint-pulse {
    0%, 100% { opacity: 0.5; }
    50%       { opacity: 1; }
}

/* ─── Score ring animado ─────────────────────────────────────────── */

.score-ring--animate {
    transition: none;
}

/* ─── Notificações offcanvas ─────────────────────────────────────── */

.notif-section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    position: sticky;
    top: 0;
    z-index: 1;
}

.notif-section-header--overdue {
    background: #fff0f0;
    color: #a32d2d;
    border-bottom: 1px solid #fdd;
}

.notif-section-header--today {
    background: var(--surface-1);
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-soft);
}

.notif-section-icon { font-size: 15px; line-height: 1; }

.notif-section-count {
    margin-left: auto;
    min-width: 20px;
    height: 20px;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    font-size: 0.72rem;
    font-weight: 800;
}

.notif-section-header--overdue .notif-section-count { background: #a32d2d; color: #fff; }
.notif-section-header--today .notif-section-count { background: var(--border-strong); color: var(--text-main); }

.notif-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.1rem;
    border-bottom: 1px solid var(--border-soft);
    text-decoration: none;
    transition: background 0.15s;
    cursor: pointer;
}

.notif-card:hover { background: var(--surface-1); text-decoration: none; }

.notif-card--overdue {
    background: #fff8f8;
    border-left: 3px solid #e24b4a;
}

.notif-card--overdue:hover { background: #fff0f0; }

.notif-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.notif-card-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
}

.notif-card-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-card-urgency {
    font-size: 0.72rem;
    font-weight: 700;
    color: #a32d2d;
    white-space: nowrap;
    flex-shrink: 0;
}

.notif-card-job {
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.2rem;
    flex-wrap: wrap;
}

.notif-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.notif-card-meta-item .material-symbols-outlined { font-size: 13px; line-height: 1; }

.notif-card-arrow {
    font-size: 18px;
    color: var(--border-strong);
    flex-shrink: 0;
    transition: transform 0.15s, color 0.15s;
}

.notif-card:hover .notif-card-arrow {
    transform: translateX(3px);
    color: var(--clan-secondary);
}

/* ─── Responsividade mobile ──────────────────────────────────────── */

.add-note-offcanvas {
    --bs-offcanvas-width: min(50vw, 700px);
}

.candidate-td {
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .score-ring--animate { --score: attr(data-score) !important; }
}

@media (max-width: 768px) {
    .add-note-offcanvas { --bs-offcanvas-width: 100vw; }

    .score-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.25rem;
    }

    .score-meta { min-width: 0; width: 100%; }

    .score-histogram { height: 60px; }
    .score-histogram-label { font-size: 0.62rem; }
    .score-histogram-count { font-size: 0.65rem; }

    .matches-count {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .col-12.col-xl-3 { margin-bottom: 1rem; }

    .match-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2px;
    }

    .match-tabs::-webkit-scrollbar { display: none; }
    .match-tabs .nav-link { white-space: nowrap; }

    .cs-followup-label { font-size: 0.85rem; }
    .cs-followup-sub { font-size: 0.75rem; }

    .status-quick-dropdown { min-width: 160px; font-size: 0.82rem; }

    .kanban-scroll-hint { display: none !important; }
    .kanban-board { mask-image: none; }

    .candidate-td { white-space: normal; }
}

@media (max-width: 480px) {
    .matches-filters-grid { grid-template-columns: 1fr; }

    .score-ring { --size: 130px; --thickness: 12px; }
    .score-value { font-size: 2rem; }

    .candidate-cell { max-width: 140px; }
    .candidate-name-link { white-space: normal; word-break: break-word; }
}

/* ─── Kanban mobile — coluna em destaque durante drag ───────────── */

@media (max-width: 768px) {
    .kanban-column--drag-target {
        outline: 2px solid var(--clan-secondary, #6c3fc5);
        outline-offset: -2px;
        background: rgba(108, 63, 197, 0.04);
    }

    .kanban-column--drag-target .kanban-column-header {
        background:
            radial-gradient(circle at top right, rgba(73, 29, 139, 0.15), transparent 40%),
            linear-gradient(180deg, var(--surface-0) 0%, var(--surface-1) 100%);
    }

    .kanban-column--drag-target .kanban-column-title {
        color: var(--clan-secondary, #6c3fc5);
    }
}

/* ─── Lista de candidaturas redesenhada ─────────────────────────── */

.clist-wrap {
    background: var(--surface-0);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

/* Tabela base */
.clist-table {
    width: 100%;
    border-collapse: collapse;
    --bs-table-bg: transparent;
    --bs-table-hover-bg: transparent;
    --bs-table-border-color: transparent;
}

/* Cabeçalho */
.clist-th {
    padding: 0.7rem 1rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    background: var(--surface-1);
    border-bottom: 1px solid var(--border-soft);
    white-space: nowrap;
    vertical-align: middle;
}

.clist-th--actions { width: 80px; }

/* Linhas */
.clist-row {
    border-bottom: 1px solid var(--border-soft);
    transition: background 0.15s;
}

.clist-row:last-child {
    border-bottom: none;
}

.clist-row:hover {
    background: var(--surface-1);
}

.clist-td {
    padding: 0.85rem 1rem;
    vertical-align: middle;
}

/* Coluna candidato */
.clist-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    line-height: 1.35;
    display: block;
}

.clist-name:hover {
    color: var(--clan-secondary);
    text-decoration: underline;
}

/* Coluna vaga */
.clist-job-pill {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
    background: rgba(108, 63, 197, 0.08);
    color: var(--clan-secondary, #6c3fc5);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Coluna data */
.clist-date {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-body);
    white-space: nowrap;
}

.clist-time {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Coluna score */
.clist-score-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.clist-score-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 28px;
    padding: 0 0.5rem;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
}

.clist-score-badge.is-excellent {
    background: var(--status-excellent-bg);
    color: var(--status-excellent-text);
}
.clist-score-badge.is-good {
    background: var(--status-good-bg);
    color: var(--status-good-text);
}
.clist-score-badge.is-medium {
    background: var(--status-medium-bg);
    color: var(--status-medium-text);
}
.clist-score-badge.is-low {
    background: var(--status-low-bg);
    color: var(--status-low-text);
}

.clist-score-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Coluna estado — herda status-quick-btn já existente */
.clist-status-btn {
    font-size: 0.78rem !important;
    padding: 0.25rem 0.6rem !important;
}

/* Coluna follow-up */
.clist-alert {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.clist-alert .material-symbols-outlined {
    font-size: 14px;
    opacity: 0.6;
}

.clist-alert.is-overdue {
    color: #c0392b;
}

.clist-alert.is-overdue .material-symbols-outlined {
    opacity: 1;
}

.clist-no-alert {
    color: var(--border-strong);
    font-size: 0.9rem;
}

/* Coluna acções */
.clist-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* DataTables v2 Bootstrap5 — controlos da lista (.dt-length, .dt-search, .dt-info, .dt-paging) */

/* Row de topo e fundo com classes adicionadas pelo JS */
.clist-controls-top,
.clist-controls-bottom {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem !important;
    font-size: 0.82rem;
    color: var(--text-muted);
    width: 100%;
    box-sizing: border-box;
}

.clist-controls-top {
    background: var(--surface-1);
    border-bottom: 1px solid var(--border-soft);
}

.clist-controls-bottom {
    background: var(--surface-1);
    border-top: 1px solid var(--border-soft);
}

/* Filhos directos das rows — remover float e larguras Bootstrap */
.clist-controls-top > div,
.clist-controls-bottom > div {
    float: none !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Input de pesquisa — dt-search input ou .dataTables_filter input */
.clist-controls-top .dt-search input,
.clist-controls-top .dataTables_filter input {
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    background: var(--surface-0);
    color: var(--text-body);
    padding: 0.28rem 0.65rem;
    font-size: 0.82rem;
    margin-left: 0.5rem;
}

.clist-controls-top .dt-search input:focus,
.clist-controls-top .dataTables_filter input:focus {
    outline: none;
    border-color: var(--clan-secondary);
    box-shadow: 0 0 0 3px rgba(108, 63, 197, 0.12);
}

/* Select de length */
.clist-controls-top .dt-length select,
.clist-controls-top .dataTables_length select {
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    background: var(--surface-0);
    color: var(--text-body);
    padding: 0.2rem 0.5rem;
    font-size: 0.82rem;
    margin: 0 0.35rem;
    appearance: none;
    cursor: pointer;
}

.clist-controls-top .dt-length select:focus,
.clist-controls-top .dataTables_length select:focus {
    outline: none;
    border-color: var(--clan-secondary);
    box-shadow: 0 0 0 3px rgba(108, 63, 197, 0.12);
}

.clist-dt-wrapper .clist-table {
    width: 100% !important;
}

/* Linha marcada com faixa colorida à esquerda baseada no score */
.clist-row:has(.clist-score-badge.is-excellent) { border-left: 3px solid var(--status-excellent-text, #1a6630); }
.clist-row:has(.clist-score-badge.is-good)      { border-left: 3px solid var(--status-good-text, #0a6e8a); }
.clist-row:has(.clist-score-badge.is-medium)    { border-left: 3px solid var(--status-medium-text, #7d5200); }
.clist-row:has(.clist-score-badge.is-low)       { border-left: 3px solid var(--status-low-text, #8b1a1a); }

/* Mobile: esconder colunas menos importantes */
@media (max-width: 768px) {
    .clist-th:nth-child(3),
    .clist-td:nth-child(3),
    .clist-th:nth-child(6),
    .clist-td:nth-child(6) {
        display: none;
    }

    .clist-job-pill {
        max-width: 140px;
    }

    .clist-td {
        padding: 0.7rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .clist-th:nth-child(2),
    .clist-td:nth-child(2) {
        display: none;
    }
}

/* ─── Perfil candidato (sidebar match) ──────────────────────────── */

.cprofile-card {
    background: var(--surface-0);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.cprofile-header {
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid var(--border-soft);
    background:
        radial-gradient(circle at top right, rgba(73,29,139,0.07), transparent 50%),
        linear-gradient(180deg, var(--surface-1) 0%, var(--surface-0) 100%);
}

.cprofile-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.cprofile-job {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--clan-secondary, #6c3fc5);
    background: rgba(108,63,197,0.08);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
    line-height: 1.4;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cprofile-name {
    font-family: var(--font-roboto-slab, serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
    margin: 0;
}

/* Meta items */
.cprofile-meta {
    display: flex;
    flex-direction: column;
}

.cprofile-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--border-soft);
    transition: background 0.15s;
}

.cprofile-item:last-child {
    border-bottom: none;
}

.cprofile-item:hover {
    background: var(--surface-1);
}

.cprofile-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(108,63,197,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cprofile-item-icon .material-symbols-outlined {
    font-size: 16px;
    color: var(--clan-secondary, #6c3fc5);
}

.cprofile-item--alert .cprofile-item-icon {
    background: rgba(193,57,43,0.08);
}

.cprofile-item--alert .cprofile-item-icon .material-symbols-outlined {
    color: #c0392b;
}

.cprofile-item--alert.is-overdue .cprofile-item-icon {
    background: rgba(193,57,43,0.15);
}

.cprofile-item-body {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
    flex: 1;
}

.cprofile-item-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    line-height: 1.3;
}

.cprofile-item-value {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.4;
    word-break: break-word;
}

.cprofile-item-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.cprofile-item-link {
    color: var(--clan-secondary, #6c3fc5);
    text-decoration: none;
    font-weight: 600;
}

.cprofile-item-link:hover {
    text-decoration: underline;
}

.cprofile-item-muted {
    color: var(--text-muted);
    font-style: italic;
}

.cprofile-overdue-badge {
    display: inline-block;
    background: rgba(193,57,43,0.1);
    color: #c0392b;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Estado row */
.cprofile-item--status {
    align-items: center;
}

.cprofile-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.cprofile-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
    background: var(--surface-2);
    border: 1px solid var(--border-soft);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-main);
}

.cprofile-change-btn {
    flex-shrink: 0;
    padding: 0.25rem 0.7rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-pill);
    background: var(--surface-0);
    color: var(--clan-secondary, #6c3fc5);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.cprofile-change-btn:hover {
    background: rgba(108,63,197,0.06);
    border-color: var(--clan-secondary);
}

/* ─── Notas — texto e botão apagar ───────────────────────────────── */

.cnote-text {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

.table-action-btn--danger {
    color: #c0392b !important;
    opacity: 0.6;
}

.table-action-btn--danger:hover:not(:disabled) {
    background: rgba(193,57,43,0.08) !important;
    color: #c0392b !important;
    opacity: 1;
}

/* Notas: tabela sem border-left colorida (não tem score) */
#datatable_Notes_wrapper .clist-row,
.cnotes-wrap .clist-row {
    border-left: none !important;
}