:root {
    --ag-orange: #b75b28;
    --ag-orange-dark: #94471f;
    --ag-charcoal: #2f2f2f;
    --ag-gray: #f3f4f6;
    --ag-border: #dddddd;
    --ag-white: #ffffff;
    --ag-muted: #6b7280;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ag-charcoal);
}

.login-body {
    min-height: 100vh;
    background: var(--ag-gray);
}

.login-wrapper {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.login-brand-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f7f7f7, #e9ecef);
    padding: 40px;
}

.brand-card {
    max-width: 420px;
    background: var(--ag-white);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.login-logo {
    max-width: 180px;
    margin-bottom: 24px;
}

.brand-card h1 {
    margin: 0;
    font-size: 48px;
    letter-spacing: 2px;
    color: var(--ag-orange);
}

.tagline {
    margin-top: 16px;
    font-size: 18px;
    color: var(--ag-charcoal);
}

.powered-text {
    margin-top: 32px;
    font-size: 13px;
    color: var(--ag-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: var(--ag-white);
}

.login-card {
    width: 100%;
    max-width: 420px;
}

.login-card h2 {
    font-size: 34px;
    margin-bottom: 8px;
}

.login-subtitle {
    color: var(--ag-muted);
    margin-bottom: 32px;
}

.login-card label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.login-card input {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid var(--ag-border);
    border-radius: 10px;
    font-size: 15px;
}

.login-card button {
    width: 100%;
    padding: 15px;
    background: var(--ag-orange);
    border: none;
    color: var(--ag-white);
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.login-card button:hover {
    background: var(--ag-orange-dark);
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.app-body {
    background: var(--ag-gray);
    min-height: 100vh;
}

.topbar {
    height: 76px;
    background: var(--ag-white);
    border-bottom: 1px solid var(--ag-border);
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-logo {
    height: 46px;
}

.topbar h1 {
    margin: 0;
    color: var(--ag-orange);
    font-size: 24px;
}

.topbar span {
    font-size: 13px;
    color: var(--ag-muted);
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-user a {
    color: var(--ag-orange);
    text-decoration: none;
    font-weight: bold;
}

.dashboard-container {
    padding: 32px;
}

.welcome-card {
    background: var(--ag-white);
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.welcome-card h2 {
    margin-top: 0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.dashboard-card {
    background: var(--ag-white);
    border-radius: 18px;
    padding: 24px;
    border-left: 5px solid var(--ag-orange);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.dashboard-card h3 {
    margin-top: 0;
}

.dashboard-card p {
    color: var(--ag-muted);
}

@media (max-width: 800px) {
    .login-wrapper {
        grid-template-columns: 1fr;
    }

    .login-brand-panel {
        min-height: 40vh;
    }

    .topbar {
        height: auto;
        padding: 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}
.alert-success {
    background: #dcfce7;
    color: #166534;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.evaluation-card {
    background: var(--ag-white);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.form-section {
    border-bottom: 1px solid var(--ag-border);
    padding-bottom: 28px;
    margin-bottom: 28px;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    margin-top: 0;
    color: var(--ag-charcoal);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.evaluation-card label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}

.evaluation-card input,
.evaluation-card select,
.evaluation-card textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--ag-border);
    border-radius: 10px;
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
}

.evaluation-card textarea {
    resize: vertical;
    margin-bottom: 18px;
}

.not-used-box {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    padding: 18px;
    border-radius: 14px;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin-bottom: 0 !important;
}

.checkbox-label input {
    width: auto;
}

.hidden {
    display: none;
}

#not_used_reason_wrap {
    margin-top: 18px;
}

.muted-text {
    color: var(--ag-muted);
}

.competency-card {
    border: 1px solid var(--ag-border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 18px;
    background: #fafafa;
}

.competency-header {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr;
    gap: 18px;
    align-items: end;
}

.competency-header h4 {
    margin: 0 0 6px;
    color: var(--ag-orange);
}

.competency-header span {
    color: var(--ag-muted);
    font-size: 14px;
}

.characteristics-list {
    margin: 16px 0;
    padding-left: 22px;
    color: var(--ag-charcoal);
}

.characteristics-list li {
    margin-bottom: 5px;
}

.total-score-box {
    margin-top: 24px;
    padding: 20px;
    border-radius: 14px;
    background: var(--ag-charcoal);
    color: var(--ag-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-score-box span {
    font-size: 17px;
}

.total-score-box strong {
    font-size: 28px;
    color: #ffffff;
}

.form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.form-actions button,
.secondary-button {
    padding: 13px 18px;
    border-radius: 10px;
    border: none;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.form-actions button {
    background: var(--ag-orange);
    color: var(--ag-white);
}

.form-actions button:hover {
    background: var(--ag-orange-dark);
}

.secondary-button {
    background: #e5e7eb;
    color: var(--ag-charcoal);
}

.disabled-section {
    opacity: 0.45;
    pointer-events: none;
}

@media (max-width: 900px) {
    .form-grid,
    .competency-header {
        grid-template-columns: 1fr;
    }
}

.dashboard-link-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.dashboard-link-card:hover {
    transform: translateY(-2px);
    transition: 0.2s ease;
}

/* Compact iSCORE UI Overrides */

body {
    font-size: 14px;
    line-height: 1.45;
}

.topbar {
    height: 62px;
    padding: 0 22px;
}

.topbar-logo {
    height: 36px;
}

.topbar h1 {
    font-size: 20px;
}

.topbar span {
    font-size: 12px;
}

.topbar-user {
    font-size: 13px;
    gap: 10px;
}

.dashboard-container {
    padding: 22px;
}

.welcome-card {
    padding: 20px 22px;
    margin-bottom: 18px;
    border-radius: 14px;
}

.welcome-card h2 {
    font-size: 22px;
    margin-bottom: 6px;
}

.welcome-card p {
    font-size: 13px;
    margin: 0;
}

.dashboard-card {
    padding: 18px;
    border-radius: 14px;
}

.dashboard-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.dashboard-card p {
    font-size: 13px;
    line-height: 1.4;
}

.evaluation-card {
    padding: 22px;
    border-radius: 14px;
}

.form-section {
    padding-bottom: 22px;
    margin-bottom: 22px;
}

.form-section h3 {
    font-size: 18px;
    margin-bottom: 14px;
}

.form-grid {
    gap: 14px;
}

.evaluation-card label {
    font-size: 12px;
    margin-bottom: 6px;
}

.evaluation-card input,
.evaluation-card select,
.evaluation-card textarea {
    padding: 9px 11px;
    border-radius: 8px;
    font-size: 13px;
}

.evaluation-card textarea {
    rows: 3;
    margin-bottom: 14px;
}

.not-used-box {
    padding: 14px;
    border-radius: 12px;
}

.checkbox-label {
    font-size: 13px;
}

.muted-text {
    font-size: 12px;
    margin-top: -4px;
}

.competency-card {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 14px;
}

.competency-header {
    gap: 14px;
}

.competency-header h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.competency-header span {
    font-size: 12px;
}

.characteristics-list {
    font-size: 12px;
    margin: 12px 0;
    padding-left: 18px;
}

.characteristics-list li {
    margin-bottom: 3px;
}

.total-score-box {
    margin-top: 18px;
    padding: 15px 18px;
    border-radius: 12px;
}

.total-score-box span {
    font-size: 14px;
}

.total-score-box strong {
    font-size: 22px;
}

.form-actions button,
.secondary-button {
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 13px;
}

.alert-success,
.alert-error {
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 8px;
}

/* Compact login page */

.brand-card {
    max-width: 360px;
    padding: 34px;
    border-radius: 18px;
}

.login-logo {
    max-width: 145px;
    margin-bottom: 18px;
}

.brand-card h1 {
    font-size: 38px;
}

.tagline {
    font-size: 15px;
}

.powered-text {
    margin-top: 24px;
    font-size: 11px;
}

.login-card {
    max-width: 360px;
}

.login-card h2 {
    font-size: 28px;
}

.login-subtitle {
    font-size: 13px;
    margin-bottom: 24px;
}

.login-card label {
    font-size: 12px;
}

.login-card input {
    padding: 11px 12px;
    font-size: 13px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.login-card button {
    padding: 12px;
    font-size: 14px;
    border-radius: 8px;
}

/* iCOACH-style compact app header */
.app-header {
    background: #f3f3f3;
    border-bottom: 1px solid #d8d8d8;
    min-height: 72px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.app-header-logo {
    width: 92px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.app-header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.app-header-text h1 {
    margin: 0;
    font-size: 18px;
    line-height: 1.15;
    color: #1f2937;
    font-weight: 700;
}

.app-header-meta {
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.3;
    color: #667085;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-header-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.app-header-right a {
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    color: var(--ag-orange);
}

.app-header-right a:hover {
    text-decoration: underline;
}
/* =========================
   Compact iSCORE App Shell
   ========================= */

.app-header {
    background: #f5f6f8;
    border-bottom: 1px solid #d9dde3;
    min-height: 58px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
}

.app-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.app-header-logo {
    width: 88px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.app-header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.app-header-text h1 {
    margin: 0;
    font-size: 16px;
    line-height: 1.1;
    font-weight: 700;
    color: #2f3742;
}

.app-header-meta {
    margin-top: 1px;
    font-size: 11px;
    line-height: 1.15;
    color: #8a94a3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Layout */
.app-shell {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: calc(100vh - 58px);
    background: #f4f5f7;
}

.sidebar {
    background: #f7f8fa;
    border-right: 1px solid #e1e5ea;
    padding: 14px 12px;
}

.sidebar-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8a94a3;
    margin-bottom: 10px;
    padding: 0 6px;
}

.sidebar-link {
    display: block;
    padding: 11px 12px;
    margin-bottom: 6px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    background: transparent;
    transition: 0.18s ease;
}

.sidebar-link:hover {
    background: #eceff3;
}

.sidebar-link.active {
    background: #c9753d;
    color: #ffffff;
}

.sidebar-link-danger {
    margin-top: 18px;
    color: #9a3412;
}

.sidebar-link-danger:hover {
    background: #fff1eb;
}

.app-content {
    padding: 18px;
}

.content-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.content-card h2 {
    margin: 0 0 4px;
    font-size: 20px;
    color: #2f3742;
}

.content-card p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

/* Cleaner card styling */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.dashboard-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #c9753d;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.dashboard-card h3 {
    margin: 0 0 6px;
    font-size: 15px;
    color: #2f3742;
}

.dashboard-card p {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: #6b7280;
}

/* Evaluation form cleanup */
.evaluation-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.form-section {
    border-bottom: 1px solid #eceff3;
    padding-bottom: 18px;
    margin-bottom: 18px;
}

.form-section h3 {
    font-size: 16px;
    margin: 0 0 12px;
}

.evaluation-card label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #374151;
}

.evaluation-card input,
.evaluation-card select,
.evaluation-card textarea {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #d8dee6;
    border-radius: 8px;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    color: #2f3742;
    background: #ffffff;
}

.evaluation-card textarea {
    resize: vertical;
    margin-bottom: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.competency-card {
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
}

.competency-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 12px;
    align-items: end;
}

.competency-header h4 {
    margin: 0 0 4px;
    font-size: 14px;
    color: #b75b28;
}

.competency-header span {
    font-size: 11px;
    color: #8a94a3;
}

.characteristics-list {
    margin: 12px 0;
    padding-left: 18px;
    font-size: 12px;
    color: #4b5563;
}

.characteristics-list li {
    margin-bottom: 3px;
}

.total-score-box {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #2f3742;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.total-score-box span {
    font-size: 13px;
}

.total-score-box strong {
    font-size: 22px;
}

.alert-success,
.alert-error {
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 14px;
}

.form-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.form-actions button,
.secondary-button {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.form-actions button {
    background: #b75b28;
    color: #ffffff;
}

.form-actions button:hover {
    background: #94471f;
}

.secondary-button {
    background: #e5e7eb;
    color: #374151;
}

@media (max-width: 900px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        border-right: none;
        border-bottom: 1px solid #e1e5ea;
    }

    .form-grid,
    .competency-header {
        grid-template-columns: 1fr;
    }

    .app-header-meta {
        white-space: normal;
    }
}
/* Compact Not Used box */
.compact-not-used {
    background: #faf6ef;
    border: 1px solid #efc9a6;
    border-radius: 10px;
    padding: 10px 12px;
}

.not-used-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
}

.not-used-inline input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin: 0;
    flex-shrink: 0;
}

.not-used-text {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    line-height: 1.35;
}

.not-used-reason-wrap {
    margin-top: 10px;
}

.not-used-reason-wrap label {
    font-size: 12px;
    margin-bottom: 5px;
}

.not-used-reason-wrap textarea {
    margin-bottom: 0;
    min-height: 64px;
}
/* Evaluation records and detail pages */

.page-heading-card,
.detail-heading-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.filter-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.filter-card label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 5px;
}

.filter-card input,
.filter-card select {
    width: 100%;
    padding: 8px 9px;
    border: 1px solid #d8dee6;
    border-radius: 8px;
    font-size: 12px;
    background: #ffffff;
    color: #2f3742;
}

.filter-actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
}

.filter-actions button {
    padding: 9px 13px;
    border: none;
    border-radius: 8px;
    background: #b75b28;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.filter-actions button:hover {
    background: #94471f;
}

.table-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.table-card-header {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.table-card-header h3 {
    margin: 0;
    font-size: 15px;
    color: #2f3742;
}

.table-card-header span {
    font-size: 12px;
    color: #6b7280;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.records-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.records-table th {
    background: #f8fafc;
    color: #6b7280;
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 11px 12px;
    border-bottom: 1px solid #e5e7eb;
}

.records-table td {
    padding: 11px 12px;
    border-bottom: 1px solid #edf0f3;
    color: #374151;
    vertical-align: top;
}

.records-table tr:hover td {
    background: #fafafa;
}

.empty-table {
    text-align: center;
    color: #6b7280;
    padding: 24px !important;
}

.table-action-link {
    color: #b75b28;
    font-weight: 700;
    text-decoration: none;
}

.table-action-link:hover {
    text-decoration: underline;
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.badge-pass {
    background: #dcfce7;
    color: #166534;
}

.badge-fail {
    background: #fee2e2;
    color: #991b1b;
}

.badge-noscore {
    background: #f3f4f6;
    color: #4b5563;
}

.badge-incomplete {
    background: #fef3c7;
    color: #92400e;
}

.badge-neutral {
    background: #e5e7eb;
    color: #374151;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 14px;
    margin-bottom: 14px;
}

.detail-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.detail-card h3 {
    margin: 0 0 12px;
    font-size: 15px;
    color: #2f3742;
}

.detail-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f2f5;
    font-size: 12px;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row span {
    color: #6b7280;
}

.detail-row strong {
    color: #2f3742;
    font-weight: 700;
}

.score-summary-large {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    text-align: center;
}

.score-summary-large span {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #b75b28;
}

.score-summary-large small {
    font-size: 11px;
    color: #6b7280;
}

.detail-note {
    margin-top: 10px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 12px;
    color: #4b5563;
}

.not-used-detail-card {
    background: #fff7ed;
    border-color: #fed7aa;
}

.not-used-detail-card p {
    margin: 0;
    font-size: 13px;
    color: #374151;
}

.detail-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
}

.summary-block {
    margin-bottom: 14px;
}

.summary-block:last-child {
    margin-bottom: 0;
}

.summary-block h4 {
    margin: 0 0 5px;
    font-size: 13px;
    color: #b75b28;
}

.summary-block p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #374151;
}

@media (max-width: 900px) {
    .page-heading-card,
    .detail-heading-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .detail-grid,
    .detail-two-column {
        grid-template-columns: 1fr;
    }

    .detail-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

.eval-series-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.eval-slot-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.eval-slot-header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.eval-slot-header h3 {
    margin: 0;
    font-size: 15px;
    color: #2f3742;
}

.eval-slot-header span {
    font-size: 11px;
    color: #8a94a3;
    text-align: right;
}

.eval-slot-score {
    font-size: 22px;
    font-weight: 800;
    color: #b75b28;
    margin-bottom: 8px;
}

.eval-slot-card p {
    margin: 0 0 12px;
    font-size: 12px;
    color: #6b7280;
}

.eval-slot-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

@media (max-width: 1100px) {
    .eval-series-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .eval-series-grid {
        grid-template-columns: 1fr;
    }
}

/* Weekly score highlight box */
.weekly-score-card {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.weekly-score-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.weekly-score-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #9a5a24;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.weekly-score-value {
    display: block;
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
    color: #b75b28;
}

.weekly-status-wrap {
    text-align: right;
}

.weekly-status-pill {
    display: inline-block;
    background: #ffffff;
    color: #92400e;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
}

.weekly-score-note {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #fed7aa;
    font-size: 12px;
    color: #6b4423;
}

@media (max-width: 700px) {
    .weekly-score-main {
        align-items: flex-start;
        flex-direction: column;
    }

    .weekly-status-wrap {
        text-align: left;
    }
}
.detail-heading-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.primary-small-button {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 8px;
    background: #b75b28;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.primary-small-button:hover {
    background: #94471f;
}

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

.brand-title {
    margin: 0;
    font-size: 16px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-i {
    color: #b75b28;
}

.brand-name {
    color: #111827;
}

/* Refined weekly note block */
.refined-weekly-note {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #f0cba8;
}

.weekly-note-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.weekly-note-label {
    font-size: 11px;
    font-weight: 700;
    color: #9a5a24;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.weekly-note-summary strong {
    font-size: 13px;
    color: #6b4423;
}

.weekly-note-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.weekly-note-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

.weekly-note-pill {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fffaf5;
    border: 1px solid #f0cba8;
    color: #9a5a24;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.weekly-note-reason {
    color: #6b4423;
}

@media (max-width: 700px) {
    .weekly-note-item {
        flex-direction: column;
        gap: 4px;
    }
}
/* Analytics dashboard */

.analytics-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.analytics-kpi-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #b75b28;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.analytics-kpi-card span {
    display: block;
    font-size: 12px;
    color: #6b7280;
    font-weight: 700;
    margin-bottom: 8px;
}

.analytics-kpi-card strong {
    display: block;
    font-size: 28px;
    color: #b75b28;
    line-height: 1;
    margin-bottom: 8px;
}

.analytics-kpi-card small {
    color: #6b7280;
    font-size: 11px;
}

.analytics-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
    gap: 16px;
}

.analytics-main-column,
.analytics-side-column {
    min-width: 0;
}

.analytics-table-spacing {
    margin-top: 16px;
}

.chart-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.chart-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.chart-card-header h3 {
    margin: 0;
    font-size: 15px;
    color: #2f3742;
}

.chart-card-header span {
    font-size: 11px;
    color: #6b7280;
}

@media (max-width: 1100px) {
    .analytics-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .analytics-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .analytics-kpi-grid {
        grid-template-columns: 1fr;
    }
}
/* Move filter buttons to the right */
.filter-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
   
   /* Center numeric columns in Team Performance */
.team-performance-table th:not(:first-child),
.team-performance-table td:not(:first-child) {
    text-align: center;
}

.team-performance-table th:first-child,
.team-performance-table td:first-child {
    text-align: left;
}
/* Force-center numeric columns in Team Performance table */
table.team-performance-table thead tr th:nth-child(n+2),
table.team-performance-table tbody tr td:nth-child(n+2) {
    text-align: center !important;
}

table.team-performance-table thead tr th:first-child,
table.team-performance-table tbody tr td:first-child {
    text-align: left !important;
}
.text-center {
    text-align: center !important;
}

/* Assignment Management */

.assignment-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.assignment-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.assignment-card-header {
    margin-bottom: 14px;
}

.assignment-card-header h3 {
    margin: 0 0 4px;
    font-size: 16px;
    color: #2f3742;
}

.assignment-card-header p {
    margin: 0;
    color: #6b7280;
    font-size: 12px;
}

.assignment-selector-form {
    margin-bottom: 14px;
}

.assignment-selector-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
}

.assignment-selector-form select {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #d8dee6;
    border-radius: 8px;
    font-size: 13px;
    background: #ffffff;
}

.assignment-list {
    display: grid;
    gap: 8px;
    max-height: 440px;
    overflow-y: auto;
    padding-right: 4px;
}

.assignment-list.compact {
    max-height: 220px;
}

.assignment-check-row {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    border: 1px solid #edf0f3;
    border-radius: 9px;
    padding: 10px;
    cursor: pointer;
    background: #fafafa;
}

.assignment-check-row:hover {
    background: #fff7ed;
    border-color: #fed7aa;
}

.assignment-check-row input {
    margin-top: 3px;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.assignment-check-row span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.assignment-check-row strong {
    font-size: 13px;
    color: #2f3742;
}

.assignment-check-row small {
    font-size: 11px;
    color: #6b7280;
}

.assignment-actions {
    margin-top: 14px;
}

.assignment-hint,
.assignment-empty {
    background: #f8fafc;
    border: 1px dashed #d8dee6;
    color: #6b7280;
    font-size: 13px;
    padding: 14px;
    border-radius: 10px;
}

.assignment-subsection {
    margin-top: 16px;
}

.assignment-subsection h4 {
    margin: 0 0 8px;
    font-size: 13px;
    color: #b75b28;
}

@media (max-width: 1000px) {
    .assignment-layout {
        grid-template-columns: 1fr;
    }
}

/* Settings */

/* Cleaner Settings Page */

.settings-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.settings-tabs a {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.settings-tabs a:hover {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #b75b28;
}

.table-mini-button {
    border: 1px solid #d8dee6;
    background: #ffffff;
    color: #374151;
    border-radius: 8px;
    padding: 6px 9px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.table-mini-button:hover {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #b75b28;
}

.secondary-mini-button {
    border: 1px solid #d8dee6 !important;
    background: #ffffff !important;
    color: #374151 !important;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.secondary-mini-button:hover {
    background: #f8fafc !important;
}

.settings-edit-row td {
    background: #fafafa !important;
    padding: 14px !important;
}

.settings-inline-form {
    display: grid;
    gap: 12px;
    align-items: end;
    min-width: 0;
}

.settings-inline-form-department {
    grid-template-columns: 1.5fr 0.7fr auto auto;
}

.settings-inline-form-team {
    grid-template-columns: 1.1fr 1fr 0.7fr auto auto;
}

.settings-inline-form-competency {
    grid-template-columns: 0.5fr 1.5fr 0.7fr auto auto;
}

.settings-inline-form div label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #6b7280;
    margin-bottom: 4px;
}

.settings-inline-form input,
.settings-inline-form select {
    width: 100%;
    padding: 8px 9px;
    border: 1px solid #d8dee6;
    border-radius: 8px;
    font-size: 12px;
    background: #ffffff;
}

.inline-checkbox {
    margin-bottom: 8px;
}

.settings-inline-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-inline-actions button {
    border: none;
    border-radius: 8px;
    background: #b75b28;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 10px;
    cursor: pointer;
}

.settings-inline-actions button:hover {
    background: #94471f;
}

.hidden {
    display: none !important;
}

@media (max-width: 1000px) {
    .settings-inline-form-department,
    .settings-inline-form-team,
    .settings-inline-form-competency {
        grid-template-columns: 1fr;
    }

    .settings-inline-actions {
        justify-content: flex-start;
    }
}
/* Cleaner top section for Settings */

.settings-top-layout {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.settings-card-wide {
    grid-column: 1 / -1;
}

.settings-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.settings-card h3 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 700;
    color: #2f3742;
}

.settings-card p {
    margin: 0 0 14px;
    font-size: 12px;
    color: #6b7280;
}

.settings-form-row {
    margin-bottom: 12px;
}

.settings-form-row label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #4b5563;
    margin-bottom: 6px;
}

.settings-form-row input,
.settings-form-row select,
.settings-form-row textarea {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #d8dee6;
    border-radius: 8px;
    font-size: 13px;
    color: #2f3742;
    background: #ffffff;
    box-sizing: border-box;
}

.settings-form-row input:focus,
.settings-form-row select:focus,
.settings-form-row textarea:focus {
    outline: none;
    border-color: #b75b28;
    box-shadow: 0 0 0 3px rgba(183, 91, 40, 0.10);
}
.settings-form-row textarea {
    min-height: 80px;
    padding: 10px 12px;
    resize: vertical;
    line-height: 1.4;
}
.settings-form-row input::placeholder {
    color: #9ca3af;
}

.settings-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #374151;
    margin-top: 2px;
    margin-bottom: 14px;
}

.settings-checkbox input {
    width: 14px;
    height: 14px;
    margin: 0;
}

.settings-actions {
    margin-top: 8px;
}

.settings-actions button,
.settings-card button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border: none;
    border-radius: 10px;
    background: #c96a33;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.settings-actions button:hover,
.settings-card button:hover {
    background: #ad5727;
}

.settings-actions button:active,
.settings-card button:active {
    transform: translateY(1px);
}

/* Make General Settings more compact */
.settings-card-wide form {
    display: flex;
    align-items: end;
    gap: 14px;
    flex-wrap: wrap;
}

.settings-card-wide .settings-form-row {
    margin-bottom: 0;
    min-width: 220px;
    max-width: 260px;
    flex: 0 0 260px;
}

.settings-card-wide .settings-actions {
    margin-top: 0;
}

/* Responsive */
@media (max-width: 1100px) {
    .settings-top-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .settings-card-wide {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .settings-top-layout {
        grid-template-columns: 1fr;
    }

    .settings-card-wide form {
        display: block;
    }

    .settings-card-wide .settings-form-row {
        max-width: 100%;
        margin-bottom: 12px;
    }

    .settings-card-wide .settings-actions {
        margin-top: 8px;
    }
}
.table-mini-button {
    border: 1px solid #d8dee6;
    background: #ffffff;
    color: #374151;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.table-mini-button:hover {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #b75b28;
}

.secondary-mini-button {
    border: 1px solid #d8dee6 !important;
    background: #ffffff !important;
    color: #374151 !important;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.secondary-mini-button:hover {
    background: #f8fafc !important;
}

.settings-edit-row td {
    background: #fafafa !important;
    padding: 14px !important;
}

.settings-inline-form {
    display: grid;
    gap: 12px;
    align-items: end;
    min-width: 0;
}

.settings-inline-form-department {
    grid-template-columns: 1.5fr 0.7fr auto auto;
}

.settings-inline-form-team {
    grid-template-columns: 1.1fr 1fr 0.7fr auto auto;
}

.settings-inline-form-competency {
    grid-template-columns: 0.5fr 1.5fr 0.7fr auto auto;
}

.settings-inline-form div label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #6b7280;
    margin-bottom: 4px;
}

.settings-inline-form input,
.settings-inline-form select {
    width: 100%;
    padding: 8px 9px;
    border: 1px solid #d8dee6;
    border-radius: 8px;
    font-size: 12px;
    background: #ffffff;
}

.inline-checkbox {
    margin-bottom: 8px;
    white-space: nowrap;
}

.settings-inline-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-inline-actions button {
    border: none;
    border-radius: 8px;
    background: #b75b28;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 10px;
    cursor: pointer;
}

.settings-inline-actions button:hover {
    background: #94471f;
}

.hidden {
    display: none !important;
}

@media (max-width: 1000px) {
    .settings-inline-form-department,
    .settings-inline-form-team,
    .settings-inline-form-competency {
        grid-template-columns: 1fr;
    }

    .settings-inline-actions {
        justify-content: flex-start;
    }
}

/* Sidebar Icons */

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.sidebar-link.active .sidebar-icon {
    background: #fff7ed;
    color: #b75b28;
}

.sidebar-link:hover .sidebar-icon {
    background: #fff7ed;
    color: #b75b28;
}

.sidebar-link-danger .sidebar-icon {
    background: #fef2f2;
    color: #b91c1c;
}
/* Sidebar Icon Polish - Final Override */

.sidebar .sidebar-link {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.sidebar .sidebar-link .sidebar-icon {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 7px !important;
    background: #f3f4f6 !important;
    color: #6b7280 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

.sidebar .sidebar-link.active .sidebar-icon {
    background: #fff7ed !important;
    color: #b75b28 !important;
}

.sidebar .sidebar-link:hover .sidebar-icon {
    background: #fff7ed !important;
    color: #b75b28 !important;
}

.sidebar .sidebar-link-danger .sidebar-icon {
    background: #fef2f2 !important;
    color: #b91c1c !important;
}

.sidebar .sidebar-link-danger:hover .sidebar-icon {
    background: #fee2e2 !important;
    color: #991b1b !important;
}

/* Sidebar Icon Polish - Final Override */

.sidebar .sidebar-link {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    line-height: 1.2 !important;
}

.sidebar .sidebar-link span:last-child {
    display: inline-flex !important;
    align-items: center !important;
}

.sidebar .sidebar-icon {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    flex: 0 0 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 7px !important;
    background: #f3f4f6 !important;
    color: #6b7280 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-align: center !important;
}

.sidebar .sidebar-link.active .sidebar-icon,
.sidebar .sidebar-link:hover .sidebar-icon {
    background: #fff7ed !important;
    color: #b75b28 !important;
}

.sidebar .sidebar-link-danger .sidebar-icon {
    background: #fef2f2 !important;
    color: #b91c1c !important;
}

.sidebar .sidebar-link-danger:hover .sidebar-icon {
    background: #fee2e2 !important;
    color: #991b1b !important;
}
/* Evaluation Form Section Polish */

.evaluation-card .form-section {
    position: relative;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #d9a075;
    border-radius: 14px;
    background: #ffffff;
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.035);
}

.form-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef1f4;
}

.form-section-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fff7ed;
    color: #b75b28;
    font-size: 13px;
    font-weight: 900;
}

.form-section-heading h3 {
    margin: 0;
    color: #2f3742;
    font-size: 16px;
    font-weight: 800;
}

.form-section-heading p {
    margin: 4px 0 0;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.4;
}

.evaluation-card .form-section > h3 {
    margin-top: 0;
}

.competency-card {
    border-radius: 13px;
    border: 1px solid #e5e7eb;
    background: #fafafa;
    padding: 15px;
    margin-bottom: 14px;
}

.competency-card:hover {
    border-color: #fed7aa;
    background: #fffdfb;
}

.total-score-box {
    border-radius: 13px;
}


.evaluation-card .ofi-inline-list {
    margin-top: 10px !important;
    width: fit-content !important;
    max-width: 100% !important;
}

.evaluation-card .ofi-inline-row {
    display: grid !important;
    grid-template-columns: 10px auto 36px !important;
    align-items: center !important;
    column-gap: 6px !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 3px 0 !important;
    padding: 0 !important;
}

.evaluation-card .ofi-inline-bullet {
    font-size: 13px !important;
    color: #334155 !important;
    line-height: 1 !important;
}

.evaluation-card .ofi-inline-text {
    font-size: 12px !important;
    color: #334155 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

.evaluation-card .ofi-inline-text strong {
    margin-left: 4px !important;
    font-size: 12px !important;
    color: #111827 !important;
}

.evaluation-card input.ofi-inline-count {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 20px !important;
    min-height: 20px !important;
    padding: 0 2px !important;
    margin: 0 !important;
    display: inline-block !important;
    font-size: 11px !important;
    line-height: 1 !important;
    text-align: center !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
}
.deal-name-warning {
    display: block;
    margin-top: 6px;
    color: #b91c1c;
    font-size: 12px;
    font-weight: 600;
}

.deal-name-warning.hidden {
    display: none;
}

input.deal-name-duplicate {
    border-color: #dc2626 !important;
    background: #fef2f2 !important;
}
.score-suggestion {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    color: #b75b28;
    font-weight: 600;
}

.score-suggestion.hidden {
    display: none;
}
/* Sidebar nested menu */
.sidebar-menu-group {
    margin: 4px 0 8px;
}

.sidebar-menu-parent {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #374151;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
}

.sidebar-menu-parent .sidebar-icon {
    width: 14px;
    text-align: center;
    color: #4b5563;
}

.sidebar .sidebar-sublink {
    display: block;
    margin: 2px 8px 2px 34px;
    padding: 8px 12px;
    color: #4b5563 !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    border-radius: 8px;
}

.sidebar .sidebar-sublink:hover {
    background: #f3f4f6;
    color: #111827 !important;
    text-decoration: none !important;
}

.sidebar .sidebar-sublink.active {
    background: #fff7ed;
    color: #b75b28 !important;
    font-weight: 700;
    text-decoration: none !important;
}