
/* =========================================
   GENERAL RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    background: #f4f7fb;
    color: #222;
}


/* =========================================
   LOGIN PAGE
========================================= */

.login-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    background:
        radial-gradient(circle at top left, #dce9ff, transparent 45%),
        #f4f7fb;
}

.login-card {
    width: 100%;
    max-width: 430px;
    padding: 38px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.09);
}

.login-logo {
    display: block;
    width: 95px;
    height: 95px;
    object-fit: contain;
    margin: 0 auto 20px;
}

.login-card h1 {
    text-align: center;
    font-size: 26px;
    margin-bottom: 10px;
    color: #173b70;
}

.login-description {
    text-align: center;
    color: #777;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #d8deea;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    transition: 0.2s;
}

.form-group input:focus {
    border-color: #246bfd;
    box-shadow: 0 0 0 3px rgba(36, 107, 253, 0.1);
}

#loginButton {
    width: 100%;
    height: 49px;
    border: none;
    border-radius: 8px;
    background: #246bfd;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

#loginButton:hover {
    background: #1556d8;
}

#loginButton:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.login-message {
    min-height: 20px;
    margin-top: 15px;
    font-size: 13px;
    text-align: center;
    line-height: 1.5;
}

.login-message.error {
    color: #d93025;
}

.login-message.success {
    color: #188038;
}


/* =========================================
   HEADER THEME VARIABLES
========================================= */

:root {
    --header-bg: #ffffff;
    --header-text: #202b3c;
    --header-border: #e8edf5;
    --header-primary: #246bfd;
    --header-hover: #246bfd;
    --header-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

body.dark-theme {
    --header-bg: #151d2b;
    --header-text: #f1f5fb;
    --header-border: #293448;
    --header-primary: #6c9cff;
    --header-hover: #8bb0ff;
    --header-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);

    background: #101827;
    color: #f1f5fb;
}


/* =========================================
   MAIN HEADER
========================================= */

.main-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    box-shadow: var(--header-shadow);
    transition: background 0.3s ease;
}

.header-container {
    width: min(1400px, 94%);
    min-height: 90px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}


/* =========================================
   BRAND / LOGO
========================================= */

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.brand-text h1 {
    color: var(--header-text);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.4;
}

.brand-text p {
    color: var(--header-text);
    opacity: 0.7;
    font-size: 11px;
    margin-top: 3px;
}


/* =========================================
   HEADER CONTROLS
========================================= */

.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}


/* =========================================
   DAY / NIGHT SWITCH
   YOUR ORIGINAL SWITCH STRUCTURE
========================================= */

.theme-switch {
    position: relative;
    display: inline-block;
    width: 65px;
    height: 34px;
    flex-shrink: 0;
    cursor: pointer;
}

.theme-switch__checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-switch__container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 30px;
    background: #87ceeb;
    transition: background 0.4s ease;
}

.theme-switch__clouds {
    position: absolute;
    width: 65px;
    height: 25px;
    bottom: -10px;
    left: 3px;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    filter: blur(4px);
}

.theme-switch__stars-container {
    position: absolute;
    width: 100%;
    height: 100%;
    color: #fff;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.theme-switch__stars-container svg {
    width: 100%;
    height: 100%;
}

.theme-switch__circle-container {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffd43b;
    transition: transform 0.4s ease, background 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-switch__sun-moon-container {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-switch__moon {
    position: relative;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #e5e7eb;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-switch__spot {
    position: absolute;
    background: #9ca3af;
    border-radius: 50%;
}

.theme-switch__spot:nth-child(1) {
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
}

.theme-switch__spot:nth-child(2) {
    width: 4px;
    height: 4px;
    top: 11px;
    left: 11px;
}

.theme-switch__spot:nth-child(3) {
    width: 3px;
    height: 3px;
    top: 3px;
    right: 3px;
}

.theme-switch__checkbox:checked + .theme-switch__container {
    background: #18243b;
}

.theme-switch__checkbox:checked
+ .theme-switch__container
.theme-switch__circle-container {
    transform: translateX(31px);
    background: #e5e7eb;
}

.theme-switch__checkbox:checked
+ .theme-switch__container
.theme-switch__stars-container {
    opacity: 1;
}

.theme-switch__checkbox:checked
+ .theme-switch__container
.theme-switch__moon {
    opacity: 1;
}


/* =========================================
   LANGUAGE SELECTOR
========================================= */

.language-selector {
    padding: 9px 10px;
    border: 1px solid var(--header-border);
    border-radius: 7px;
    background: var(--header-bg);
    color: var(--header-text);
    font-size: 13px;
    cursor: pointer;
    outline: none;
}


/* =========================================
   NAVIGATION
========================================= */

.navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 0 3% 16px;
}

.navigation a {
    text-decoration: none;
    color: var(--header-text);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s;
}

.navigation a:hover {
    color: var(--header-hover);
}


/* =========================================
   SIGN OUT BUTTON
========================================= */

.logout-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 9px 17px;
    border: none;
    border-radius: 7px;
    background: #dc3545;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
}

.logout-button:hover {
    background: #b92332;
    transform: translateY(-1px);
}

.logout-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}


/* =========================================
   BURGER MENU
   YOUR ORIGINAL CHECKBOX STRUCTURE
========================================= */

.burger {
    display: none;
    width: 35px;
    height: 35px;
    position: relative;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.burger input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.burger span {
    display: block;
    width: 25px;
    height: 2px;
    border-radius: 5px;
    background: var(--header-text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger:has(input:checked) span:nth-of-type(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger:has(input:checked) span:nth-of-type(2) {
    opacity: 0;
}

.burger:has(input:checked) span:nth-of-type(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* =========================================
   RESPONSIVE HEADER
========================================= */

@media (max-width: 1100px) {

    .header-container {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .header-controls {
        margin-left: auto;
    }

    .burger {
        display: flex;
    }

    .navigation {
        display: none;
        width: 100%;
        padding: 15px 3% 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .navigation.active {
        display: flex;
    }

    .navigation a {
        padding: 12px 10px;
        border-top: 1px solid var(--header-border);
        font-size: 14px;
    }

    .logout-button {
        margin-top: 12px;
        width: 100%;
        padding: 12px;
    }

}


@media (min-width: 1101px) {

    .navigation {
        display: flex;
    }

}


@media (max-width: 480px) {

    .header-container {
        width: 92%;
    }

    .brand img {
        width: 48px;
        height: 48px;
    }

    .brand-text h1 {
        font-size: 15px;
    }

    .brand-text p {
        font-size: 9px;
    }

    .header-controls {
        gap: 9px;
    }

    .theme-switch {
        transform: scale(0.9);
    }

    .language-selector {
        padding: 7px;
        font-size: 11px;
    }

}


/* =========================================
   LOGIN DARK MODE
========================================= */

body.dark-theme .login-wrapper {
    background: #101827;
}

body.dark-theme .login-card {
    background: #1c293b;
}

body.dark-theme .login-card h1,
body.dark-theme .form-group label {
    color: #f1f5fb;
}

body.dark-theme .login-description {
    color: #b8c4d6;
}

body.dark-theme .form-group input {
    background: #101827;
    border-color: #34445d;
    color: #fff;
}

/* ==========================================
   HOME SECTION EDITOR
========================================== */

#homeEditor {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 25px;
    color: var(--admin-text, #202938);
}

#homeEditor,
#homeEditor * {
    box-sizing: border-box;
}

.home-editor-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.home-editor-eyebrow {
    display: block;
    color: #246bfd;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    margin-bottom: 7px;
}

.home-editor-heading h2 {
    font-size: 27px;
    margin: 0 0 7px;
}

.home-editor-heading p {
    margin: 0;
    color: #718096;
    font-size: 14px;
}

.home-editor-status {
    padding: 9px 13px;
    border-radius: 20px;
    background: #edf3ff;
    color: #246bfd;
    font-size: 12px;
    font-weight: 700;
}

.home-editor-message {
    display: none;
    padding: 13px 15px;
    border-radius: 9px;
    margin-bottom: 18px;
    font-size: 14px;
}

.home-editor-message.visible {
    display: block;
}

.home-editor-message.success {
    background: #e9f8ef;
    color: #18753c;
}

.home-editor-message.error {
    background: #fff0f0;
    color: #b42318;
}

.home-editor-message.info {
    background: #edf3ff;
    color: #246bfd;
}


/* LANGUAGE SELECTOR */

.home-language-panel {
    padding: 20px;
    background: #edf3ff;
    border: 1px solid #dce7ff;
    border-radius: 13px;
    margin-bottom: 22px;
}

.home-language-panel label {
    display: block;
    font-size: 14px;
    font-weight: 750;
    margin-bottom: 9px;
}

.home-language-panel select {
    width: 100%;
    max-width: 350px;
    padding: 12px;
    border: 1px solid #cbd8ed;
    border-radius: 8px;
    background: #fff;
    color: #202938;
    font-size: 14px;
}

.home-language-panel p {
    font-size: 12px;
    color: #64748b;
    margin: 9px 0 0;
}


/* EDITOR CARDS */

.home-editor-card {
    background: var(--admin-card, #fff);
    border: 1px solid var(--admin-border, #e4eaf2);
    border-radius: 13px;
    padding: 23px;
    margin-bottom: 19px;
    box-shadow: 0 3px 12px rgba(25, 45, 80, .035);
}

.home-editor-card h3 {
    font-size: 17px;
    margin: 0 0 20px;
    color: inherit;
}

.home-editor-help {
    font-size: 13px;
    line-height: 1.6;
    color: #718096;
    margin: -8px 0 17px;
}


/* FORM FIELDS */

.home-editor-field,
.home-translatable-field {
    margin-bottom: 19px;
}

.home-editor-field:last-child,
.home-translatable-field:last-child {
    margin-bottom: 0;
}

.home-editor-field label,
.home-translatable-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.home-editor-field input,
.home-translatable-field input,
.home-translatable-field textarea,
.home-value-card input,
.home-value-card textarea {
    width: 100%;
    min-width: 0;
    padding: 12px 13px;
    border: 1px solid var(--admin-border, #dce3ed);
    border-radius: 8px;
    outline: none;
    background: var(--admin-input-bg, #fff);
    color: var(--admin-text, #202938);
    font-family: inherit;
    font-size: 14px;
    transition: border-color .2s, box-shadow .2s;
}

.home-editor-field input:focus,
.home-translatable-field input:focus,
.home-translatable-field textarea:focus,
.home-value-card input:focus,
.home-value-card textarea:focus {
    border-color: #246bfd;
    box-shadow: 0 0 0 3px rgba(36, 107, 253, .1);
}

.home-translatable-field textarea {
    min-height: 100px;
    resize: vertical;
}

.home-editor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}


/* LOGO PREVIEW */

.home-logo-preview-wrapper {
    margin-top: 14px;
    min-height: 110px;
    padding: 15px;
    border: 1px dashed var(--admin-border, #dce3ed);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--admin-subtle-bg, #f7f9fc);
}

#homeHeroLogoPreview {
    display: block;
    max-width: 180px;
    max-height: 130px;
    object-fit: contain;
}


/* HOME VALUES */

.home-values-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.home-values-heading h3 {
    margin-bottom: 7px;
}

.home-values-heading p {
    margin: 0;
    font-size: 13px;
    color: #718096;
    line-height: 1.5;
}

.home-add-value-button {
    border: 0;
    border-radius: 8px;
    padding: 11px 16px;
    background: #246bfd;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.home-add-value-button:hover {
    background: #1555d5;
}

.home-values-list {
    display: grid;
    gap: 15px;
}

.home-value-card {
    border: 1px solid var(--admin-border, #e4eaf2);
    border-radius: 11px;
    padding: 17px;
    background: var(--admin-subtle-bg, #fafbfd);
}

.home-value-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.home-value-card-header strong {
    font-size: 14px;
}

.home-value-actions {
    display: flex;
    gap: 8px;
}

.home-value-action-button {
    border: 1px solid var(--admin-border, #dce3ed);
    background: var(--admin-card, #fff);
    color: var(--admin-text, #202938);
    padding: 7px 11px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
}

.home-value-action-button.remove {
    color: #c62828;
    border-color: #f1caca;
}

.home-value-action-button:hover {
    filter: brightness(.96);
}

.home-value-icon-field {
    max-width: 180px;
    margin-bottom: 15px;
}

.home-value-icon-field input {
    font-size: 20px;
    text-align: center;
}

.home-value-translation {
    margin-top: 13px;
}

.home-value-translation label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 7px;
}

.home-values-empty {
    text-align: center;
    padding: 25px 15px;
    color: #718096;
    background: var(--admin-subtle-bg, #f7f9fc);
    border: 1px dashed var(--admin-border, #dce3ed);
    border-radius: 10px;
    font-size: 13px;
}


/* SAVE / PUBLISH */

.home-editor-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 0 35px;
}

.home-editor-actions button {
    border: 0;
    border-radius: 8px;
    padding: 13px 19px;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

.home-editor-actions button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.home-secondary-button {
    background: #edf1f7;
    color: #344054;
}

.home-primary-button {
    background: #246bfd;
    color: #fff;
}

.home-primary-button:hover {
    background: #1555d5;
}


/* DARK MODE */

[data-theme="dark"] #homeEditor,
body.dark-theme #homeEditor {
    --admin-text: #e7edf7;
    --admin-card: #1c2636;
    --admin-border: #344155;
    --admin-input-bg: #111b2a;
    --admin-subtle-bg: #182233;
}

[data-theme="dark"] .home-language-panel,
body.dark-theme .home-language-panel {
    background: #1c2b45;
    border-color: #344b70;
}

[data-theme="dark"] .home-language-panel select,
body.dark-theme .home-language-panel select {
    background: #111b2a;
    color: #e7edf7;
    border-color: #344155;
}

[data-theme="dark"] .home-editor-heading p,
[data-theme="dark"] .home-editor-help,
[data-theme="dark"] .home-values-heading p,
body.dark-theme .home-editor-heading p,
body.dark-theme .home-editor-help,
body.dark-theme .home-values-heading p {
    color: #a5b2c5;
}

[data-theme="dark"] .home-secondary-button,
body.dark-theme .home-secondary-button {
    background: #344155;
    color: #fff;
}


/* RESPONSIVE */

@media (max-width: 650px) {
    #homeEditor {
        padding: 15px;
    }

    .home-editor-card {
        padding: 17px;
    }

    .home-editor-grid {
        grid-template-columns: 1fr;
    }

    .home-editor-actions {
        flex-direction: column;
    }

    .home-editor-actions button {
        width: 100%;
    }

    .home-editor-heading h2 {
        font-size: 23px;
    }
}
/* =========================================
   ABOUT US ADMIN
========================================= */

.about-admin-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 0 45px;
    color: var(--text-color, #202938);
}

.about-admin-section,
.about-admin-section * {
    box-sizing: border-box;
}

.about-admin-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.about-admin-eyebrow {
    display: block;
    color: #246bfd;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    margin-bottom: 8px;
}

.about-admin-header h2 {
    margin: 0 0 7px;
    font-size: clamp(23px, 3vw, 30px);
    font-weight: 800;
}

.about-admin-header p {
    margin: 0;
    font-size: 13px;
    opacity: .7;
    line-height: 1.6;
}

.about-admin-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border-radius: 30px;
    background: rgba(100, 116, 139, .10);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.about-admin-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
}

.about-admin-status.is-loaded .about-admin-status-dot {
    background: #16a34a;
}

.about-admin-status.is-error .about-admin-status-dot {
    background: #dc2626;
}

.about-admin-message {
    display: none;
    margin-bottom: 18px;
    padding: 12px 15px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.6;
}

.about-admin-message.show {
    display: block;
}

.about-admin-message.success {
    color: #166534;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
}

.about-admin-message.error {
    color: #991b1b;
    background: #fee2e2;
    border: 1px solid #fecaca;
}

.about-admin-message.info {
    color: #1e40af;
    background: #dbeafe;
    border: 1px solid #bfdbfe;
}

/* LANGUAGE PANEL */

.about-admin-language-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 17px;
    padding: 18px 20px;
    margin-bottom: 20px;
    background: var(--background-color, #fff);
    border: 1px solid var(--border-color, #e5eaf1);
    border-radius: 13px;
}

.about-admin-language-panel h3 {
    margin: 0 0 5px;
    font-size: 15px;
}

.about-admin-language-panel p {
    margin: 0;
    font-size: 12px;
    opacity: .65;
}

.about-admin-language-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.about-language-button {
    padding: 9px 16px;
    border: 1px solid var(--border-color, #dce3ec);
    border-radius: 8px;
    background: transparent;
    color: var(--text-color, #202938);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.about-language-button:hover {
    border-color: #246bfd;
    color: #246bfd;
}

.about-language-button.active {
    color: #fff;
    background: #246bfd;
    border-color: #246bfd;
}

/* ADMIN CARDS */

.about-admin-card {
    padding: 22px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color, #e5eaf1);
    border-radius: 13px;
    background: var(--background-color, #fff);
    box-shadow: 0 4px 15px rgba(15, 23, 42, .035);
}

.about-admin-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.about-admin-card-heading > div {
    display: flex;
    align-items: center;
    gap: 11px;
}

.about-admin-step {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 9px;
    background: rgba(36, 107, 253, .10);
    color: #246bfd;
    font-size: 12px;
    font-weight: 800;
}

.about-admin-card-heading h3 {
    margin: 0;
    font-size: 16px;
}

.about-admin-card-heading > p {
    margin: 0;
    font-size: 11px;
    opacity: .6;
}

/* FORM */

.about-admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.about-admin-field {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.about-admin-field label {
    font-size: 12px;
    font-weight: 700;
}

.about-admin-field input,
.about-admin-field textarea {
    width: 100%;
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid var(--border-color, #dce3ec);
    border-radius: 8px;
    outline: none;
    background: var(--surface-color, #f8fafc);
    color: var(--text-color, #202938);
    font: inherit;
    font-size: 13px;
    transition: border .2s ease, box-shadow .2s ease;
}

.about-admin-field input {
    min-height: 42px;
}

.about-admin-field textarea {
    min-height: 95px;
    resize: vertical;
    line-height: 1.6;
}

.about-admin-field input:focus,
.about-admin-field textarea:focus {
    border-color: #246bfd;
    box-shadow: 0 0 0 3px rgba(36, 107, 253, .10);
}

.about-admin-field small {
    font-size: 10px;
    line-height: 1.5;
    opacity: .65;
}

.about-admin-full {
    grid-column: 1 / -1;
}

.about-admin-logo-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    grid-column: 1 / -1;
    padding: 13px;
    border: 1px dashed var(--border-color, #dce3ec);
    border-radius: 10px;
}

.about-admin-logo-preview span {
    font-size: 12px;
    font-weight: 700;
}

.about-admin-logo-preview img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--border-color, #dce3ec);
    background: #f1f5f9;
}

/* VALUES */

.about-admin-values-heading {
    margin-bottom: 10px;
}

.about-admin-help {
    margin: 0 0 18px;
    font-size: 12px;
    line-height: 1.7;
    opacity: .65;
}

.about-admin-add-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    border: 1px solid #246bfd;
    border-radius: 8px;
    background: rgba(36, 107, 253, .08);
    color: #246bfd;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.about-admin-add-button span {
    font-size: 18px;
    line-height: 12px;
}

.about-admin-value-list {
    display: grid;
    gap: 15px;
}

.about-admin-value-item {
    padding: 17px;
    border: 1px solid var(--border-color, #e5eaf1);
    border-radius: 11px;
    background: var(--surface-color, #f8fafc);
}

.about-admin-value-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

.about-admin-value-top strong {
    font-size: 13px;
}

.about-admin-remove-value {
    padding: 7px 11px;
    border: 1px solid #fecaca;
    border-radius: 7px;
    background: #fff1f2;
    color: #b91c1c;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.about-admin-value-fields {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 13px;
    margin-bottom: 14px;
}

.about-admin-value-fields .about-admin-field input {
    min-height: 42px;
}

.about-admin-value-translations {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.about-admin-value-language {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--border-color, #e5eaf1);
    border-radius: 9px;
    background: var(--background-color, #fff);
}

.about-admin-value-language h4 {
    margin: 0 0 11px;
    font-size: 12px;
}

.about-admin-value-language .about-admin-field {
    margin-bottom: 10px;
}

.about-admin-value-language .about-admin-field:last-child {
    margin-bottom: 0;
}

/* ACTIONS */

.about-admin-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding: 18px 20px;
    border: 1px solid var(--border-color, #e5eaf1);
    border-radius: 12px;
    background: var(--background-color, #fff);
}

.about-admin-action-note {
    max-width: 470px;
    font-size: 11px;
    line-height: 1.7;
    opacity: .7;
}

.about-admin-action-note strong {
    color: #246bfd;
}

.about-admin-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.about-admin-action-buttons button {
    min-height: 42px;
    padding: 10px 17px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s ease;
}

.about-admin-action-buttons button:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.about-admin-save-button {
    border: 1px solid var(--border-color, #dce3ec);
    background: transparent;
    color: var(--text-color, #202938);
}

.about-admin-save-button:hover {
    border-color: #246bfd;
    color: #246bfd;
}

.about-admin-publish-button {
    border: 1px solid #166534;
    background: #166534;
    color: #fff;
}

.about-admin-publish-button:hover {
    background: #14532d;
}

/* DARK THEME */

[data-theme="dark"] .about-admin-card,
[data-theme="dark"] .about-admin-language-panel,
[data-theme="dark"] .about-admin-actions,
body.dark-theme .about-admin-card,
body.dark-theme .about-admin-language-panel,
body.dark-theme .about-admin-actions {
    background: var(--background-color, #171f2d);
    border-color: rgba(255, 255, 255, .10);
}

[data-theme="dark"] .about-admin-value-item,
[data-theme="dark"] .about-admin-field input,
[data-theme="dark"] .about-admin-field textarea,
body.dark-theme .about-admin-value-item,
body.dark-theme .about-admin-field input,
body.dark-theme .about-admin-field textarea {
    background: var(--surface-color, #202b3b);
    border-color: rgba(255, 255, 255, .12);
    color: var(--text-color, #f1f5f9);
}

[data-theme="dark"] .about-admin-value-language,
body.dark-theme .about-admin-value-language {
    background: var(--background-color, #171f2d);
    border-color: rgba(255, 255, 255, .10);
}

[data-theme="dark"] .about-admin-remove-value,
body.dark-theme .about-admin-remove-value {
    background: rgba(220, 38, 38, .12);
    border-color: rgba(248, 113, 113, .3);
    color: #fca5a5;
}

[data-theme="dark"] .about-admin-save-button,
body.dark-theme .about-admin-save-button {
    color: var(--text-color, #f1f5f9);
}

/* RESPONSIVE */

@media (max-width: 750px) {
    .about-admin-header {
        flex-direction: column;
    }

    .about-admin-form-grid {
        grid-template-columns: 1fr;
    }

    .about-admin-full,
    .about-admin-logo-preview {
        grid-column: auto;
    }

    .about-admin-value-translations {
        grid-template-columns: 1fr;
    }

    .about-admin-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .about-admin-action-buttons {
        width: 100%;
    }

    .about-admin-action-buttons button {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .about-admin-section {
        padding-top: 15px;
    }

    .about-admin-card {
        padding: 15px;
    }

    .about-admin-language-panel {
        padding: 15px;
    }

    .about-admin-language-buttons {
        width: 100%;
    }

    .about-language-button {
        flex: 1;
        padding: 9px 8px;
    }

    .about-admin-value-fields {
        grid-template-columns: 1fr;
    }

    .about-admin-action-buttons {
        flex-direction: column;
    }
}

/* END ABOUT US ADMIN */

/* =========================================================
   START: NTCF OBJECTIVES ADMIN SECTION
   Matches the main admin dashboard theme.
   Light mode + body.dark-theme
========================================================= */

.objectives-editor {
    --oe-primary: #246bfd;
    --oe-primary-dark: #1554d1;
    --oe-text: var(--admin-text, #202938);
    --oe-muted: var(--admin-muted, #718096);
    --oe-border: var(--admin-border, #e4eaf2);
    --oe-background: var(--admin-subtle-bg, #f6f8fc);
    --oe-white: var(--admin-card, #ffffff);
    --oe-input: var(--admin-input-bg, #ffffff);

    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    color: var(--oe-text);
}

.objectives-editor,
.objectives-editor * {
    box-sizing: border-box;
}

/* =========================================================
   HEADER
========================================================= */

.oe-header {
    position: relative;
    overflow: hidden;
    padding: 30px;
    margin-bottom: 22px;
    border-radius: 15px;

    background:
        radial-gradient(
            circle at 95% 10%,
            rgba(255, 255, 255, 0.2),
            transparent 30%
        ),
        linear-gradient(120deg, #164bb5, #246bfd);

    color: #ffffff;
}

.oe-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.oe-header-icon {
    width: 66px;
    height: 66px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 30px;
}

.oe-eyebrow {
    display: block;
    margin-bottom: 7px;

    color: rgba(255, 255, 255, 0.75);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.oe-header h2 {
    margin: 0 0 7px;
    color: #ffffff;
    font-size: 27px;
    font-weight: 800;
}

.oe-header p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.7;
}

/* =========================================================
   STATUS
========================================================= */

.oe-status {
    display: flex;
    align-items: center;
    gap: 11px;

    padding: 13px 16px;
    margin-bottom: 15px;

    background: #eef4ff;
    border: 1px solid #dbe7ff;
    border-radius: 9px;

    color: #2458b6;
    font-size: 13px;
    font-weight: 600;
}

.oe-status-indicator {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #246bfd;
}

.oe-status.is-loaded {
    background: #edfaf2;
    border-color: #ccebd7;
    color: #187343;
}

.oe-status.is-loaded .oe-status-indicator {
    background: #22a45a;
}

.oe-status.is-error {
    background: #fff0f0;
    border-color: #ffd6d6;
    color: #c52c2c;
}

.oe-status.is-error .oe-status-indicator {
    background: #dc3838;
}

/* =========================================================
   MESSAGE
========================================================= */

.oe-message {
    display: none;
    padding: 14px 17px;
    margin-bottom: 18px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 600;
}

.oe-message.show {
    display: block;
}

.oe-message.success {
    color: #187343;
    background: #edfaf2;
    border: 1px solid #ccebd7;
}

.oe-message.error {
    color: #b42323;
    background: #fff0f0;
    border: 1px solid #ffd6d6;
}

.oe-message.info {
    color: #2458b6;
    background: #eef4ff;
    border: 1px solid #dbe7ff;
}

/* =========================================================
   MAIN CARDS
========================================================= */

.objectives-editor .oe-card {
    padding: 25px;
    margin-bottom: 22px;

    background: var(--oe-white);
    border: 1px solid var(--oe-border);
    border-radius: 13px;

    box-shadow: 0 3px 12px rgba(25, 45, 80, 0.035);
}

.oe-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 22px;
}

.oe-card-heading h3 {
    margin: 4px 0 7px;
    color: var(--oe-text);
    font-size: 19px;
    font-weight: 800;
}

.oe-card-heading p {
    margin: 0;
    color: var(--oe-muted);
    font-size: 13px;
    line-height: 1.6;
}

.oe-section-number {
    display: inline-block;
    color: var(--oe-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

/* =========================================================
   LANGUAGE TABS
========================================================= */

.oe-language-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding: 7px;
    margin-bottom: 25px;
    background: var(--oe-background);
    border: 1px solid var(--oe-border);
    border-radius: 10px;
}

.oe-language-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 43px;
    padding: 9px 17px;

    border: 1px solid transparent;
    border-radius: 8px;

    background: transparent;
    color: var(--oe-muted);

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
    transition: 0.2s ease;
}

.oe-language-tab:hover {
    color: var(--oe-primary);
    background: var(--oe-white);
}

.oe-language-tab.active {
    color: var(--oe-primary);
    background: var(--oe-white);
    border-color: var(--oe-border);
    box-shadow: 0 2px 7px rgba(36, 107, 253, 0.08);
}

.oe-language-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 27px;
    height: 27px;

    border-radius: 7px;
    background: var(--oe-background);
    color: var(--oe-muted);

    font-size: 11px;
    font-weight: 800;
}

.oe-language-tab.active .oe-language-code {
    color: #ffffff;
    background: var(--oe-primary);
}

/* =========================================================
   TRANSLATION GROUPS
========================================================= */

.oe-group {
    padding: 22px;
    margin-bottom: 20px;

    background: var(--oe-white);
    border: 1px solid var(--oe-border);
    border-radius: 11px;
}

.oe-group:last-child {
    margin-bottom: 0;
}

.oe-group h3 {
    margin: 0 0 17px;
    color: var(--oe-text);
    font-size: 16px;
    font-weight: 800;
}

.oe-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

/* =========================================================
   FORM FIELDS
========================================================= */

.oe-field {
    display: flex;
    flex-direction: column;
    gap: 8px;

    min-width: 0;
    margin-bottom: 17px;
}

.oe-field:last-child {
    margin-bottom: 0;
}

.oe-field label {
    color: var(--oe-text);
    font-size: 12px;
    font-weight: 750;
}

.oe-field input,
.oe-field textarea {
    width: 100%;
    min-width: 0;
    padding: 12px 14px;

    background: var(--oe-input);
    border: 1px solid var(--oe-border);
    border-radius: 8px;

    color: var(--oe-text);

    font-family: inherit;
    font-size: 13px;
    line-height: 1.6;

    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.oe-field input {
    min-height: 45px;
}

.oe-field textarea {
    min-height: 85px;
    resize: vertical;
}

.oe-field input:hover,
.oe-field textarea:hover {
    border-color: #9db9e9;
}

.oe-field input:focus,
.oe-field textarea:focus {
    border-color: var(--oe-primary);
    box-shadow: 0 0 0 3px rgba(36, 107, 253, 0.10);
}

.oe-field input::placeholder,
.oe-field textarea::placeholder {
    color: var(--oe-muted);
    opacity: 0.75;
}

.oe-field small {
    color: var(--oe-muted);
    font-size: 11px;
}

/* =========================================================
   MAIN OBJECTIVE
========================================================= */

.oe-group .oe-field:last-child {
    margin-bottom: 0;
}

/* =========================================================
   OBJECTIVES HEADING
========================================================= */

.oe-objectives-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.oe-objectives-heading h3 {
    margin-bottom: 6px;
}

.oe-info {
    margin: 0 0 18px;
    color: var(--oe-muted);
    font-size: 12px;
    line-height: 1.7;
}

/* =========================================================
   ADD OBJECTIVE BUTTON
========================================================= */

.oe-add-objective {
    flex-shrink: 0;
    padding: 10px 15px;

    background: rgba(36, 107, 253, 0.08);
    border: 1px solid rgba(36, 107, 253, 0.2);
    border-radius: 8px;

    color: var(--oe-primary);
    font-size: 12px;
    font-weight: 750;

    cursor: pointer;
    transition: 0.2s ease;
}

.oe-add-objective:hover {
    background: var(--oe-primary);
    border-color: var(--oe-primary);
    color: #ffffff;
}

/* =========================================================
   OBJECTIVE CARDS
========================================================= */

.oe-objectives-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.oe-objective-card {
    padding: 19px;

    background: var(--oe-background);
    border: 1px solid var(--oe-border);
    border-radius: 10px;

    transition: border-color 0.2s;
}

.oe-objective-card:hover {
    border-color: rgba(36, 107, 253, 0.55);
}

.oe-objective-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding-bottom: 14px;
    margin-bottom: 16px;

    border-bottom: 1px solid var(--oe-border);
}

.oe-objective-card-header strong {
    color: var(--oe-text);
    font-size: 13px;
    font-weight: 800;
}

/* =========================================================
   REMOVE OBJECTIVE BUTTON
========================================================= */

.oe-delete-objective {
    padding: 7px 12px;

    background: rgba(220, 56, 56, 0.08);
    border: 1px solid rgba(220, 56, 56, 0.2);
    border-radius: 7px;

    color: #dc3838;
    font-size: 11px;
    font-weight: 750;

    cursor: pointer;
    transition: 0.2s ease;
}

.oe-delete-objective:hover {
    background: #dc3838;
    border-color: #dc3838;
    color: #ffffff;
}

/* =========================================================
   ICON SETTINGS
========================================================= */

.oe-icon-settings {
    padding-top: 3px;
}

.oe-icon-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.oe-icon-settings input {
    max-width: 100%;
}

.oe-icon-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    padding: 13px 15px;
    margin-top: 18px;

    background: rgba(36, 107, 253, 0.07);
    border: 1px solid rgba(36, 107, 253, 0.17);
    border-radius: 9px;

    color: var(--oe-text);
}

.oe-icon-note span {
    font-size: 17px;
}

.oe-icon-note p {
    margin: 0;
    color: var(--oe-muted);
    font-size: 12px;
    line-height: 1.6;
}

/* =========================================================
   LOADING PLACEHOLDER
========================================================= */

.oe-loading-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;

    min-height: 170px;
    color: var(--oe-muted);
    font-size: 13px;
}

.oe-loading-placeholder p {
    margin: 0;
}

.oe-spinner {
    width: 28px;
    height: 28px;

    border: 3px solid var(--oe-border);
    border-top-color: var(--oe-primary);
    border-radius: 50%;

    animation: oe-spin 0.8s linear infinite;
}

@keyframes oe-spin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
   PUBLISH INFORMATION
========================================================= */

.oe-publish-info {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    padding: 19px 21px;
    margin-bottom: 20px;

    background: rgba(36, 107, 253, 0.07);
    border: 1px solid rgba(36, 107, 253, 0.17);
    border-radius: 11px;
}

.oe-publish-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 37px;
    height: 37px;
    flex-shrink: 0;

    background: var(--oe-white);
    border: 1px solid var(--oe-border);
    border-radius: 8px;

    font-size: 17px;
}

.oe-publish-info h4 {
    margin: 0 0 6px;
    color: var(--oe-primary);
    font-size: 13px;
    font-weight: 800;
}

.oe-publish-info p {
    margin: 0;
    color: var(--oe-muted);
    font-size: 12px;
    line-height: 1.7;
}

/* =========================================================
   ACTION AREA
========================================================= */

.oe-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;

    padding: 22px 24px;

    background: var(--oe-white);
    border: 1px solid var(--oe-border);
    border-radius: 11px;

    box-shadow: 0 3px 12px rgba(25, 45, 80, 0.035);
}

.oe-actions-description {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.oe-actions-description strong {
    color: var(--oe-text);
    font-size: 14px;
}

.oe-actions-description span {
    color: var(--oe-muted);
    font-size: 12px;
}

.oe-action-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* =========================================================
   BUTTONS
========================================================= */

.oe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 44px;
    padding: 11px 18px;

    border: 1px solid transparent;
    border-radius: 8px;

    font-family: inherit;
    font-size: 12px;
    font-weight: 800;

    cursor: pointer;
    transition: 0.2s ease;
}

.oe-btn:disabled,
.oe-add-objective:disabled,
.oe-delete-objective:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.oe-btn-secondary {
    background: var(--oe-white);
    border-color: var(--oe-border);
    color: var(--oe-text);
}

.oe-btn-secondary:hover:not(:disabled) {
    background: var(--oe-background);
    border-color: #9db9e9;
}

.oe-btn-primary {
    background: var(--oe-primary);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(36, 107, 253, 0.18);
}

.oe-btn-primary:hover:not(:disabled) {
    background: var(--oe-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(36, 107, 253, 0.24);
}

/* =========================================================
   DARK THEME
   Admin uses body.dark-theme, NOT [data-theme="dark"].
========================================================= */

body.dark-theme .objectives-editor {
    --oe-primary: #6c9cff;
    --oe-primary-dark: #4f83ec;

    --oe-text: #f1f5fb;
    --oe-muted: #aebbd0;
    --oe-border: #34445d;
    --oe-background: #172338;
    --oe-white: #1c293b;
    --oe-input: #101827;
}

body.dark-theme .oe-header {
    background:
        radial-gradient(
            circle at 95% 10%,
            rgba(255, 255, 255, 0.13),
            transparent 30%
        ),
        linear-gradient(120deg, #173b70, #246bfd);
}

body.dark-theme .oe-status {
    background: #1b2d49;
    border-color: #344c70;
    color: #a9c7ff;
}

body.dark-theme .oe-status.is-loaded {
    background: #173a30;
    border-color: #285b46;
    color: #9ce0b8;
}

body.dark-theme .oe-status.is-error {
    background: #42252d;
    border-color: #67343e;
    color: #ffb5bd;
}

body.dark-theme .oe-message.success {
    background: #173a30;
    border-color: #285b46;
    color: #9ce0b8;
}

body.dark-theme .oe-message.error {
    background: #42252d;
    border-color: #67343e;
    color: #ffb5bd;
}

body.dark-theme .oe-message.info {
    background: #1b2d49;
    border-color: #344c70;
    color: #a9c7ff;
}

body.dark-theme .oe-language-tab {
    color: #aebbd0;
}

body.dark-theme .oe-language-tab:hover,
body.dark-theme .oe-language-tab.active {
    background: #243650;
    border-color: #3b5273;
    color: #8eb4ff;
}

body.dark-theme .oe-language-code {
    background: #263951;
    color: #b7c7e0;
}

body.dark-theme .oe-language-tab.active .oe-language-code {
    background: #6c9cff;
    color: #101827;
}

body.dark-theme .oe-add-objective {
    background: #203657;
    border-color: #3b5680;
    color: #a9c7ff;
}

body.dark-theme .oe-add-objective:hover {
    background: #246bfd;
    border-color: #246bfd;
    color: #ffffff;
}

body.dark-theme .oe-objective-card {
    background: #172338;
    border-color: #34445d;
}

body.dark-theme .oe-objective-card:hover {
    border-color: #6c9cff;
}

body.dark-theme .oe-objective-card-header {
    border-color: #34445d;
}

body.dark-theme .oe-delete-objective {
    background: #42252d;
    border-color: #67343e;
    color: #ffb5bd;
}

body.dark-theme .oe-delete-objective:hover {
    background: #dc3838;
    border-color: #dc3838;
    color: #ffffff;
}

body.dark-theme .oe-icon-note,
body.dark-theme .oe-publish-info {
    background: #1b2d49;
    border-color: #344c70;
}

body.dark-theme .oe-icon-note,
body.dark-theme .oe-icon-note p,
body.dark-theme .oe-publish-info p {
    color: #b7c7e0;
}

body.dark-theme .oe-publish-info h4 {
    color: #a9c7ff;
}

body.dark-theme .oe-publish-info-icon {
    background: #243650;
    border-color: #3b5273;
}

body.dark-theme .oe-btn-secondary {
    background: #243650;
    border-color: #3b5273;
    color: #f1f5fb;
}

body.dark-theme .oe-btn-secondary:hover:not(:disabled) {
    background: #304663;
    border-color: #6c9cff;
}

body.dark-theme .oe-spinner {
    border-color: #34445d;
    border-top-color: #6c9cff;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {
    .objectives-editor {
        padding: 18px;
    }

    .oe-fields-grid {
        grid-template-columns: 1fr;
    }

    .oe-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .oe-action-buttons {
        width: 100%;
    }

    .oe-btn {
        flex: 1;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
    .objectives-editor {
        padding: 12px;
    }

    .oe-header {
        padding: 22px 18px;
        border-radius: 12px;
    }

    .oe-header-content {
        align-items: flex-start;
        gap: 13px;
    }

    .oe-header-icon {
        width: 48px;
        height: 48px;
        border-radius: 10px;
        font-size: 23px;
    }

    .oe-header h2 {
        font-size: 21px;
    }

    .oe-header p {
        font-size: 12px;
    }

    .objectives-editor .oe-card {
        padding: 16px;
        border-radius: 11px;
    }

    .oe-card-heading h3 {
        font-size: 17px;
    }

    .oe-language-tabs {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        padding: 5px;
    }

    .oe-language-tab {
        flex-direction: column;
        gap: 5px;
        padding: 9px 5px;
        font-size: 11px;
    }

    .oe-group {
        padding: 15px;
    }

    .oe-objectives-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .oe-add-objective {
        width: 100%;
    }

    .oe-icon-grid {
        grid-template-columns: 1fr;
    }

    .oe-actions {
        padding: 17px;
    }

    .oe-action-buttons {
        flex-direction: column;
        width: 100%;
    }

    .oe-btn {
        width: 100%;
        flex: auto;
    }

    .oe-publish-info {
        padding: 15px;
    }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

.objectives-editor button:focus-visible,
.objectives-editor input:focus-visible,
.objectives-editor textarea:focus-visible {
    outline: 3px solid rgba(36, 107, 253, 0.25);
    outline-offset: 2px;
}

body.dark-theme .objectives-editor button:focus-visible,
body.dark-theme .objectives-editor input:focus-visible,
body.dark-theme .objectives-editor textarea:focus-visible {
    outline-color: rgba(108, 156, 255, 0.55);
}

/* =========================================================
   END: NTCF OBJECTIVES ADMIN SECTION
========================================================= */

/* =========================================================
   START: PROGRAMS & ACTIVITIES ADMIN CSS
   File: programs-admin.css
   ========================================================= */

/* SECTION */
.programs-admin-section {
    width: 100%;
    min-width: 0;
    padding: 28px;
    color: var(--admin-text, #202938);
    background: var(--admin-bg, transparent);
    box-sizing: border-box;
    font-family: inherit;
}

.programs-admin-section *,
.programs-admin-section *::before,
.programs-admin-section *::after {
    box-sizing: border-box;
}

.programs-admin-section [hidden] {
    display: none !important;
}

.pa-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

/* HEADER */
.pa-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.pa-header-content {
    min-width: 0;
}

.pa-eyebrow,
.pa-section-label {
    display: inline-block;
    color: #246bfd;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 9px;
}

.pa-header h2 {
    margin: 0;
    color: var(--admin-text, #202938);
    font-size: clamp(23px, 3vw, 30px);
    font-weight: 800;
    letter-spacing: -0.7px;
}

.pa-header p {
    margin: 8px 0 0;
    color: var(--admin-muted, #778296);
    font-size: 14px;
    line-height: 1.6;
}

.pa-header-icon {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 19px;
    color: #246bfd;
    background: rgba(36, 107, 253, 0.10);
    font-size: 31px;
}

/* MESSAGE */
.pa-message {
    padding: 14px 17px;
    margin-bottom: 20px;
    border: 1px solid var(--admin-border, #e5eaf1);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.6;
}

.pa-message.success {
    color: #16834d;
    background: rgba(22, 163, 74, 0.09);
    border-color: rgba(22, 163, 74, 0.24);
}

.pa-message.error {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.08);
    border-color: rgba(220, 53, 69, 0.23);
}

.pa-message.info {
    color: #246bfd;
    background: rgba(36, 107, 253, 0.08);
    border-color: rgba(36, 107, 253, 0.20);
}

/* STATISTICS */
.pa-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 23px;
}

.pa-stat-card {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 1px solid var(--admin-border, #e7ebf1);
    border-radius: 15px;
    background: var(--admin-card, #fff);
    box-shadow: 0 4px 18px rgba(25, 42, 70, 0.035);
}

.pa-stat-icon {
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    font-size: 21px;
    font-weight: 800;
}

.pa-stat-blue {
    color: #246bfd;
    background: rgba(36, 107, 253, 0.11);
}

.pa-stat-green {
    color: #15965b;
    background: rgba(21, 150, 91, 0.11);
}

.pa-stat-orange {
    color: #d88919;
    background: rgba(216, 137, 25, 0.12);
}

.pa-stat-red {
    color: #df4757;
    background: rgba(223, 71, 87, 0.11);
}

.pa-stat-label {
    display: block;
    margin-bottom: 5px;
    color: var(--admin-muted, #778296);
    font-size: 12px;
    font-weight: 600;
}

.pa-stat-card strong {
    display: block;
    color: var(--admin-text, #202938);
    font-size: 24px;
    line-height: 1.1;
}

/* CARDS */
.pa-card {
    min-width: 0;
    padding: 26px;
    margin-bottom: 23px;
    border: 1px solid var(--admin-border, #e7ebf1);
    border-radius: 17px;
    background: var(--admin-card, #fff);
    box-shadow: 0 5px 22px rgba(25, 42, 70, 0.035);
}

.pa-card-heading,
.pa-library-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 22px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--admin-border, #e8edf3);
}

.pa-card-heading h3,
.pa-library-heading h3 {
    margin: 0;
    color: var(--admin-text, #202938);
    font-size: 20px;
    font-weight: 800;
}

.pa-card-heading p,
.pa-library-heading p {
    margin: 7px 0 0;
    color: var(--admin-muted, #778296);
    font-size: 13px;
    line-height: 1.6;
}

.pa-editor-badge,
.pa-list-count {
    flex: 0 0 auto;
    padding: 8px 11px;
    border-radius: 8px;
    color: #246bfd;
    background: rgba(36, 107, 253, 0.09);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
}

/* FORM SECTION */
.pa-form-section {
    padding-bottom: 27px;
    margin-bottom: 27px;
    border-bottom: 1px solid var(--admin-border, #e8edf3);
}

.pa-form-section:last-of-type {
    margin-bottom: 0;
}

.pa-form-section-title {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 21px;
}

.pa-step-number {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #246bfd;
    background: rgba(36, 107, 253, 0.10);
    font-size: 12px;
    font-weight: 800;
}

.pa-form-section-title h4 {
    margin: 0;
    color: var(--admin-text, #202938);
    font-size: 15px;
    font-weight: 800;
}

.pa-form-section-title p {
    margin: 5px 0 0;
    color: var(--admin-muted, #778296);
    font-size: 12px;
    line-height: 1.5;
}

/* FORM GRID */
.pa-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px;
}

.pa-form-group {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.pa-form-grid > .pa-form-group {
    margin-bottom: 0;
}

.pa-form-group label {
    color: var(--admin-text, #344054);
    font-size: 12px;
    font-weight: 750;
}

.pa-required {
    color: #e04452;
}

.pa-form-group input,
.pa-form-group select,
.pa-form-group textarea,
.pa-filter-bar select,
.pa-search-box input {
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    outline: none;
    border: 1px solid var(--admin-border, #dfe5ed);
    border-radius: 10px;
    color: var(--admin-text, #202938);
    background: var(--admin-input-bg, #fff);
    font: inherit;
    font-size: 13px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pa-form-group input,
.pa-form-group select {
    min-height: 45px;
}

.pa-form-group textarea {
    min-height: 90px;
    resize: vertical;
    line-height: 1.65;
}

.pa-form-group input:focus,
.pa-form-group select:focus,
.pa-form-group textarea:focus,
.pa-filter-bar select:focus,
.pa-search-box:focus-within {
    border-color: #246bfd;
    box-shadow: 0 0 0 3px rgba(36, 107, 253, 0.10);
}

.pa-form-group small,
.pa-image-help {
    color: var(--admin-muted, #8792a3);
    font-size: 11px;
    line-height: 1.6;
}

/* FEATURED TOGGLE */
.pa-featured-group {
    justify-content: center;
}

.pa-toggle-label {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 65px;
    padding: 12px 14px;
    border: 1px solid var(--admin-border, #e3e8ef);
    border-radius: 11px;
    cursor: pointer;
}

.pa-toggle-label strong,
.pa-toggle-label small {
    display: block;
}

.pa-toggle-label strong {
    margin-bottom: 4px;
    color: var(--admin-text, #202938);
    font-size: 12px;
}

.pa-toggle-label small {
    color: var(--admin-muted, #8792a3);
    font-size: 10px;
    font-weight: 500;
}

.pa-toggle-label input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.pa-toggle-switch {
    position: relative;
    flex: 0 0 43px;
    width: 43px;
    height: 24px;
    border-radius: 30px;
    background: #aeb7c5;
    transition: background 0.2s ease;
}

.pa-toggle-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
}

.pa-toggle-label input:checked + .pa-toggle-switch {
    background: #246bfd;
}

.pa-toggle-label input:checked + .pa-toggle-switch::after {
    transform: translateX(19px);
}

/* CATEGORY MANAGER */
.pa-category-manager {
    padding: 18px;
    margin-top: 23px;
    border: 1px solid var(--admin-border, #e3e8ef);
    border-radius: 13px;
    background: var(--admin-subtle-bg, #f8faff);
}

.pa-category-manager-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.pa-category-manager-heading h4 {
    margin: 0;
    color: var(--admin-text, #202938);
    font-size: 13px;
}

.pa-category-manager-heading p {
    margin: 5px 0 0;
    color: var(--admin-muted, #778296);
    font-size: 11px;
}

.pa-category-icon {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 10px;
    color: #246bfd;
    background: rgba(36, 107, 253, 0.10);
    font-size: 21px;
}

.pa-add-category-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.pa-add-category-row .pa-form-group {
    flex: 1;
    margin: 0;
}

.pa-category-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.pa-category-list-label {
    width: 100%;
    color: var(--admin-muted, #778296);
    font-size: 11px;
}

.pa-category-chip {
    display: inline-flex;
    padding: 6px 10px;
    border: 1px solid var(--admin-border, #e3e8ef);
    border-radius: 20px;
    color: var(--admin-text, #4c596b);
    background: var(--admin-card, #fff);
    font-size: 11px;
    font-weight: 650;
}

/* LANGUAGE TABS */
.pa-language-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 5px;
    margin-bottom: 21px;
    border-radius: 11px;
    background: var(--admin-subtle-bg, #f3f6fa);
}

.pa-language-tab {
    flex: 1;
    min-width: 100px;
    padding: 11px 14px;
    border: 0;
    border-radius: 8px;
    color: var(--admin-muted, #778296);
    background: transparent;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pa-language-tab:hover {
    color: #246bfd;
}

.pa-language-tab.active {
    color: #246bfd;
    background: var(--admin-card, #fff);
    box-shadow: 0 2px 7px rgba(20, 40, 70, 0.08);
}

.pa-language-panel {
    display: none;
}

.pa-language-panel.active {
    display: block;
}

/* IMAGE UPLOAD */
.pa-image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.pa-image-field {
    min-width: 0;
}

.pa-image-field-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.pa-image-field-heading h4 {
    margin: 0;
    color: var(--admin-text, #202938);
    font-size: 13px;
}

.pa-image-field-heading p {
    margin: 5px 0 0;
    color: var(--admin-muted, #778296);
    font-size: 11px;
}

.pa-optional-badge {
    flex: 0 0 auto;
    padding: 6px 9px;
    border-radius: 6px;
    color: #64748b;
    background: var(--admin-subtle-bg, #f0f3f7);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.6px;
}

.pa-upload-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 215px;
    padding: 20px;
    overflow: hidden;
    border: 1.5px dashed var(--admin-border, #cbd5e1);
    border-radius: 13px;
    background: var(--admin-subtle-bg, #f8faff);
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.pa-upload-box.is-dragging {
    border-color: #246bfd;
    background: rgba(36, 107, 253, 0.08);
}

.pa-upload-content {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 9px;
}

.pa-upload-icon {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    border-radius: 13px;
    color: #246bfd;
    background: rgba(36, 107, 253, 0.11);
    font-size: 25px;
    font-weight: 700;
}

.pa-upload-content strong {
    color: var(--admin-text, #202938);
    font-size: 13px;
}

.pa-upload-content > span {
    color: var(--admin-muted, #778296);
    font-size: 11px;
}

.pa-upload-content small {
    color: var(--admin-muted, #8792a3);
    font-size: 10px;
}

.pa-browse-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 37px;
    padding: 0 15px;
    margin-top: 3px;
    border-radius: 8px;
    color: #fff !important;
    background: #246bfd;
    font-size: 11px !important;
    font-weight: 750;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.pa-browse-button:hover {
    background: #1556d7;
    transform: translateY(-1px);
}

.pa-image-preview {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 13px;
    text-align: left;
}

.pa-image-preview img {
    flex: 0 0 95px;
    width: 95px;
    height: 105px;
    object-fit: cover;
    border-radius: 9px;
    background: var(--admin-subtle-bg, #edf1f6);
}

.pa-preview-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 28px;
}

.pa-preview-info strong {
    overflow-wrap: anywhere;
    color: var(--admin-text, #202938);
    font-size: 12px;
}

.pa-preview-info span {
    color: var(--admin-muted, #778296);
    font-size: 10px;
}

.pa-remove-image-button {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border: 0;
    border-radius: 8px;
    color: #df4757;
    background: rgba(223, 71, 87, 0.10);
    font-size: 20px;
    cursor: pointer;
}

.pa-remove-image-button:hover {
    color: #fff;
    background: #df4757;
}

.pa-image-help {
    display: block;
    margin-top: 10px;
}

.pa-image-help code {
    color: #246bfd;
    font-size: 10px;
}

/* BUTTONS */
.pa-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
}

.pa-form-action-right {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pa-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 9px;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pa-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.pa-button-primary {
    color: #fff;
    background: #246bfd;
    box-shadow: 0 4px 10px rgba(36, 107, 253, 0.16);
}

.pa-button-primary:hover:not(:disabled) {
    background: #1556d7;
    transform: translateY(-1px);
}

.pa-button-secondary {
    color: #246bfd;
    border-color: rgba(36, 107, 253, 0.25);
    background: rgba(36, 107, 253, 0.07);
}

.pa-button-secondary:hover:not(:disabled) {
    background: rgba(36, 107, 253, 0.14);
}

.pa-button-light {
    color: var(--admin-text, #536174);
    border-color: var(--admin-border, #dfe5ed);
    background: var(--admin-subtle-bg, #f7f9fc);
}

.pa-button-light:hover:not(:disabled) {
    border-color: #246bfd;
    color: #246bfd;
}

/* LIBRARY */
.pa-library-heading {
    align-items: center;
}

.pa-filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(150px, 190px) minmax(140px, 170px);
    gap: 11px;
    margin-bottom: 19px;
}

.pa-search-box {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding-left: 13px;
    border: 1px solid var(--admin-border, #dfe5ed);
    border-radius: 10px;
    background: var(--admin-input-bg, #fff);
}

.pa-search-box > span {
    color: var(--admin-muted, #8792a3);
    font-size: 22px;
}

.pa-search-box input {
    padding-left: 0;
    border: 0;
    box-shadow: none !important;
    background: transparent;
}

.pa-filter-bar select {
    min-height: 44px;
}

/* TABLE */
.pa-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--admin-border, #e8edf3);
    border-radius: 11px;
}

.pa-table {
    width: 100%;
    min-width: 790px;
    border-collapse: collapse;
    text-align: left;
}

.pa-table th {
    padding: 14px 13px;
    color: var(--admin-muted, #778296);
    background: var(--admin-subtle-bg, #f7f9fc);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    white-space: nowrap;
}

.pa-table td {
    padding: 14px 13px;
    border-top: 1px solid var(--admin-border, #edf0f4);
    color: var(--admin-text, #344054);
    font-size: 12px;
    vertical-align: middle;
}

.pa-table tbody tr:hover {
    background: var(--admin-subtle-bg, #fafcff);
}

.pa-program-cell {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 220px;
}

.pa-program-thumb {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--admin-subtle-bg, #edf1f6);
}

.pa-program-name {
    display: block;
    max-width: 230px;
    overflow: hidden;
    color: var(--admin-text, #202938);
    font-size: 12px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pa-program-location {
    display: block;
    max-width: 230px;
    margin-top: 4px;
    overflow: hidden;
    color: var(--admin-muted, #8792a3);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pa-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 750;
    text-transform: capitalize;
    white-space: nowrap;
}

.pa-status.published {
    color: #16834d;
    background: rgba(22, 163, 74, 0.10);
}

.pa-status.draft {
    color: #b87917;
    background: rgba(216, 137, 25, 0.12);
}

.pa-status.unpublished {
    color: #d04452;
    background: rgba(220, 53, 69, 0.09);
}

.pa-featured-tag {
    color: #246bfd;
    font-size: 11px;
    font-weight: 750;
}

.pa-not-featured {
    color: var(--admin-muted, #8792a3);
    font-size: 11px;
}

.pa-row-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.pa-action-button {
    min-height: 30px;
    padding: 0 9px;
    border: 1px solid var(--admin-border, #e0e6ee);
    border-radius: 7px;
    color: var(--admin-text, #536174);
    background: var(--admin-card, #fff);
    font: inherit;
    font-size: 10px;
    font-weight: 750;
    cursor: pointer;
}

.pa-action-button:hover {
    color: #246bfd;
    border-color: #246bfd;
}

.pa-action-button.danger {
    color: #d04452;
}

.pa-action-button.danger:hover {
    border-color: #d04452;
    background: rgba(220, 53, 69, 0.07);
}

.pa-table-loading {
    padding: 30px !important;
    color: var(--admin-muted, #778296) !important;
    text-align: center;
}

/* EMPTY STATE */
.pa-empty-state {
    padding: 45px 20px;
    text-align: center;
}

.pa-empty-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 13px;
    border-radius: 15px;
    color: #246bfd;
    background: rgba(36, 107, 253, 0.10);
    font-size: 25px;
}

.pa-empty-state h4 {
    margin: 0;
    color: var(--admin-text, #202938);
    font-size: 15px;
}

.pa-empty-state p {
    margin: 7px 0 0;
    color: var(--admin-muted, #778296);
    font-size: 12px;
}

/* DARK MODE */
[data-theme="dark"] .programs-admin-section,
body.dark-theme .programs-admin-section {
    color: var(--admin-text, #e7edf6);
}

[data-theme="dark"] .pa-card,
body.dark-theme .pa-card,
[data-theme="dark"] .pa-stat-card,
body.dark-theme .pa-stat-card {
    background: var(--admin-card, #171f2d);
    border-color: var(--admin-border, #303b4d);
    box-shadow: none;
}

[data-theme="dark"] .pa-header h2,
body.dark-theme .pa-header h2,
[data-theme="dark"] .pa-card-heading h3,
body.dark-theme .pa-card-heading h3,
[data-theme="dark"] .pa-library-heading h3,
body.dark-theme .pa-library-heading h3,
[data-theme="dark"] .pa-stat-card strong,
body.dark-theme .pa-stat-card strong,
[data-theme="dark"] .pa-form-section-title h4,
body.dark-theme .pa-form-section-title h4,
[data-theme="dark"] .pa-category-manager-heading h4,
body.dark-theme .pa-category-manager-heading h4,
[data-theme="dark"] .pa-image-field-heading h4,
body.dark-theme .pa-image-field-heading h4,
[data-theme="dark"] .pa-toggle-label strong,
body.dark-theme .pa-toggle-label strong,
[data-theme="dark"] .pa-upload-content strong,
body.dark-theme .pa-upload-content strong,
[data-theme="dark"] .pa-program-name,
body.dark-theme .pa-program-name,
[data-theme="dark"] .pa-empty-state h4,
body.dark-theme .pa-empty-state h4 {
    color: var(--admin-text, #e7edf6);
}

[data-theme="dark"] .pa-form-group label,
body.dark-theme .pa-form-group label {
    color: var(--admin-text, #d9e1ed);
}

[data-theme="dark"] .pa-category-manager,
body.dark-theme .pa-category-manager,
[data-theme="dark"] .pa-upload-box,
body.dark-theme .pa-upload-box,
[data-theme="dark"] .pa-language-tabs,
body.dark-theme .pa-language-tabs,
[data-theme="dark"] .pa-table th,
body.dark-theme .pa-table th {
    background: var(--admin-subtle-bg, #202a3a);
}

[data-theme="dark"] .pa-form-group input,
body.dark-theme .pa-form-group input,
[data-theme="dark"] .pa-form-group select,
body.dark-theme .pa-form-group select,
[data-theme="dark"] .pa-form-group textarea,
body.dark-theme .pa-form-group textarea,
[data-theme="dark"] .pa-filter-bar select,
body.dark-theme .pa-filter-bar select,
[data-theme="dark"] .pa-search-box,
body.dark-theme .pa-search-box {
    color: var(--admin-text, #e7edf6);
    background: var(--admin-input-bg, #202a3a);
    border-color: var(--admin-border, #39465a);
}

[data-theme="dark"] .pa-search-box input,
body.dark-theme .pa-search-box input {
    background: transparent;
}

[data-theme="dark"] .pa-language-tab.active,
body.dark-theme .pa-language-tab.active {
    background: var(--admin-card, #171f2d);
}

[data-theme="dark"] .pa-toggle-label,
body.dark-theme .pa-toggle-label,
[data-theme="dark"] .pa-category-chip,
body.dark-theme .pa-category-chip,
[data-theme="dark"] .pa-action-button,
body.dark-theme .pa-action-button {
    color: var(--admin-text, #d9e1ed);
    background: var(--admin-card, #171f2d);
    border-color: var(--admin-border, #39465a);
}

[data-theme="dark"] .pa-table td,
body.dark-theme .pa-table td {
    color: var(--admin-text, #d9e1ed);
    border-color: var(--admin-border, #303b4d);
}

[data-theme="dark"] .pa-table tbody tr:hover,
body.dark-theme .pa-table tbody tr:hover {
    background: var(--admin-subtle-bg, #202a3a);
}

[data-theme="dark"] .pa-button-light,
body.dark-theme .pa-button-light {
    color: var(--admin-text, #d9e1ed);
    background: var(--admin-subtle-bg, #202a3a);
    border-color: var(--admin-border, #39465a);
}

/* RESPONSIVE */
@media (max-width: 1050px) {
    .pa-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pa-filter-bar {
        grid-template-columns: 1fr 1fr;
    }

    .pa-search-box {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .programs-admin-section {
        padding: 16px;
    }

    .pa-card {
        padding: 19px;
    }

    .pa-header-icon {
        display: none;
    }

    .pa-form-grid,
    .pa-image-grid {
        grid-template-columns: 1fr;
    }

    .pa-filter-bar {
        grid-template-columns: 1fr;
    }

    .pa-search-box {
        grid-column: auto;
    }

    .pa-form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .pa-form-action-right {
        width: 100%;
        flex-direction: column;
    }

    .pa-form-action-right .pa-button,
    .pa-form-actions > .pa-button {
        width: 100%;
    }

    .pa-add-category-row {
        align-items: stretch;
        flex-direction: column;
    }

    .pa-add-category-row > .pa-button {
        width: 100%;
    }

    .pa-library-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .pa-stats-grid {
        gap: 9px;
    }

    .pa-stat-card {
        gap: 9px;
        padding: 13px;
    }

    .pa-stat-icon {
        flex-basis: 35px;
        width: 35px;
        height: 35px;
        font-size: 17px;
    }

    .pa-stat-card strong {
        font-size: 20px;
    }

    .pa-stat-label {
        font-size: 10px;
    }

    .pa-card {
        padding: 15px;
    }

    .pa-language-tab {
        min-width: 0;
        padding: 10px 7px;
        font-size: 11px;
    }
}

/* =========================================================
   END: PROGRAMS & ACTIVITIES ADMIN CSS
   ========================================================= */
   
/* =========================================================
   NTCF NEWS & EVENTS ADMIN
   ========================================================= */

.news-admin-section {
    --na-primary: #246bfd;
    --na-primary-dark: #1554d1;
    --na-background: #f4f7fb;
    --na-card: #ffffff;
    --na-text: #172338;
    --na-muted: #748196;
    --na-border: #e2e8f0;

    padding: 25px;
    color: var(--na-text);
}

.news-admin-section *,
.news-admin-section *::before,
.news-admin-section *::after {
    box-sizing: border-box;
}

.news-admin-section [hidden] {
    display: none !important;
}

.news-admin-container {
    width: 100%;
    max-width: 1250px;
    margin: auto;
}

/* HEADER */

.news-admin-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.news-admin-eyebrow,
.news-admin-label {
    color: var(--na-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.news-admin-heading h2 {
    margin: 7px 0;
    font-size: clamp(25px, 4vw, 33px);
    font-weight: 800;
}

.news-admin-heading p {
    margin: 0;
    color: var(--na-muted);
    font-size: 13px;
    line-height: 1.6;
}

.news-admin-heading-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 15px;
    background: #e9f0ff;
    color: var(--na-primary);
    font-size: 23px;
}

/* MESSAGE */

.news-admin-message {
    padding: 13px 16px;
    margin-bottom: 18px;
    border: 1px solid var(--na-border);
    border-radius: 9px;
    font-size: 13px;
}

.news-admin-message.success {
    background: #eaf8ef;
    border-color: #c8ebd2;
    color: #176b37;
}

.news-admin-message.error {
    background: #fff0f0;
    border-color: #f3cccc;
    color: #a52c2c;
}

/* STATS */

.news-admin-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 22px;
}

.news-admin-stat {
    position: relative;
    min-width: 0;
    padding: 19px;
    overflow: hidden;
    border: 1px solid var(--na-border);
    border-radius: 12px;
    background: var(--na-card);
}

.news-admin-stat span {
    display: block;
    color: var(--na-muted);
    font-size: 12px;
    font-weight: 600;
}

.news-admin-stat strong {
    display: block;
    margin-top: 8px;
    font-size: 27px;
    font-weight: 800;
}

.news-admin-stat > i {
    position: absolute;
    top: 20px;
    right: 18px;
    color: #dce6f7;
    font-size: 24px;
}

.news-admin-stat.published > i {
    color: #ccebd6;
}

.news-admin-stat.drafts > i {
    color: #f3e5bd;
}

.news-admin-stat.unpublished > i {
    color: #f2d2d2;
}

/* PANELS */

.news-admin-panel {
    padding: 23px;
    margin-bottom: 22px;
    border: 1px solid var(--na-border);
    border-radius: 13px;
    background: var(--na-card);
}

.news-admin-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 22px;
}

.news-admin-panel-heading h3 {
    margin: 6px 0 0;
    font-size: 19px;
    font-weight: 800;
}

.news-admin-panel-heading > i {
    color: var(--na-primary);
    font-size: 22px;
}

.news-admin-list-count {
    color: var(--na-muted);
    font-size: 12px;
}

/* FORM */

.news-admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
    margin-bottom: 23px;
}

.news-admin-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 17px;
}

.news-admin-field label {
    color: var(--na-text);
    font-size: 12px;
    font-weight: 750;
}

.news-admin-field input,
.news-admin-field textarea,
.news-admin-field select,
.news-admin-library-toolbar input,
.news-admin-library-toolbar select {
    width: 100%;
    min-width: 0;
    padding: 12px 13px;
    border: 1px solid var(--na-border);
    border-radius: 8px;
    outline: none;
    background: var(--na-card);
    color: var(--na-text);
    font: inherit;
    font-size: 13px;
    transition: border-color .2s, box-shadow .2s;
}

.news-admin-field input:focus,
.news-admin-field textarea:focus,
.news-admin-field select:focus,
.news-admin-library-toolbar input:focus,
.news-admin-library-toolbar select:focus {
    border-color: var(--na-primary);
    box-shadow: 0 0 0 3px rgba(36, 107, 253, .10);
}

.news-admin-field textarea {
    min-height: 90px;
    resize: vertical;
    line-height: 1.7;
}

.news-admin-field small {
    color: var(--na-muted);
    font-size: 11px;
    line-height: 1.5;
}

/* LANGUAGE TABS */

.news-admin-language-area {
    padding-top: 20px;
    border-top: 1px solid var(--na-border);
}

.news-admin-language-heading {
    margin-bottom: 16px;
}

.news-admin-language-heading h4,
.news-admin-image-heading h4 {
    margin: 0 0 5px;
    font-size: 15px;
}

.news-admin-language-heading p,
.news-admin-image-heading p {
    margin: 0;
    color: var(--na-muted);
    font-size: 12px;
}

.news-admin-language-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 20px;
    padding: 5px;
    border-radius: 9px;
    background: var(--na-background);
}

.news-admin-language-tabs button {
    padding: 10px 17px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--na-muted);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.news-admin-language-tabs button.active {
    background: var(--na-primary);
    color: white;
}

.news-admin-language-panel {
    display: block;
}

.news-admin-language-panel[hidden] {
    display: none !important;
}

/* IMAGE */

.news-admin-image-section {
    margin-top: 22px;
    padding: 20px;
    border: 1px solid var(--na-border);
    border-radius: 10px;
    background: var(--na-background);
}

.news-admin-image-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.news-admin-image-heading > i {
    color: var(--na-primary);
    font-size: 23px;
}

.news-admin-image-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    color: var(--na-muted);
    font-size: 10px;
    font-weight: 800;
}

.news-admin-image-divider::before,
.news-admin-image-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--na-border);
}

.news-admin-image-preview {
    width: 100%;
    max-width: 360px;
    max-height: 220px;
    margin-top: 10px;
    overflow: hidden;
    border: 1px solid var(--na-border);
    border-radius: 9px;
    background: var(--na-card);
}

.news-admin-image-preview img {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: contain;
}

.news-admin-image-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.news-admin-image-status {
    color: var(--na-muted);
    font-size: 11px;
}

.news-admin-remove-image {
    padding: 8px 11px;
    border: 1px solid #f0d2d2;
    border-radius: 7px;
    background: #fff4f4;
    color: #b43b3b;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

/* FORM ACTIONS */

.news-admin-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.news-admin-form-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 11px 17px;
    border: 1px solid transparent;
    border-radius: 8px;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
}

.news-admin-form-actions button:disabled {
    opacity: .6;
    cursor: wait;
}

.news-admin-primary-button {
    background: var(--na-primary);
    color: #fff;
}

.news-admin-primary-button:hover {
    background: var(--na-primary-dark);
}

.news-admin-secondary-button {
    border-color: var(--na-border) !important;
    background: var(--na-background);
    color: var(--na-text);
}

.news-admin-cancel-button {
    border-color: var(--na-border) !important;
    background: transparent;
    color: var(--na-muted);
}

/* LIBRARY TOOLBAR */

.news-admin-library-toolbar {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) 180px auto;
    gap: 10px;
    margin-bottom: 17px;
}

.news-admin-search {
    position: relative;
}

.news-admin-search > i {
    position: absolute;
    top: 50%;
    left: 13px;
    transform: translateY(-50%);
    color: var(--na-muted);
    font-size: 12px;
}

.news-admin-search input {
    padding-left: 36px;
}

.news-admin-library-toolbar > button {
    padding: 10px 14px;
    border: 1px solid var(--na-border);
    border-radius: 8px;
    background: var(--na-background);
    color: var(--na-text);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

/* TABLE */

.news-admin-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.news-admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 12px;
}

.news-admin-table th {
    padding: 13px 11px;
    border-bottom: 1px solid var(--na-border);
    background: var(--na-background);
    color: var(--na-muted);
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.news-admin-table td {
    padding: 13px 11px;
    border-bottom: 1px solid var(--na-border);
    color: var(--na-text);
    vertical-align: middle;
}

.news-admin-table-image {
    display: block;
    width: 55px;
    height: 43px;
    border-radius: 6px;
    object-fit: cover;
}

.news-admin-no-image {
    color: var(--na-muted);
    font-size: 10px;
}

.news-admin-status {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 20px;
    background: #edf0f5;
    color: #596579;
    font-size: 10px;
    font-weight: 800;
    text-transform: capitalize;
}

.news-admin-status.published {
    background: #e5f6eb;
    color: #19713b;
}

.news-admin-status.draft {
    background: #fff5df;
    color: #946313;
}

.news-admin-status.unpublished {
    background: #fceaea;
    color: #a33333;
}

.news-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.news-admin-actions button {
    padding: 7px 10px;
    border: 1px solid var(--na-border);
    border-radius: 6px;
    background: var(--na-card);
    color: var(--na-text);
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

.news-admin-actions button.edit {
    color: var(--na-primary);
}

.news-admin-actions button.delete {
    border-color: #f0d4d4;
    color: #b43b3b;
}

.news-admin-empty {
    padding: 35px 15px;
    text-align: center;
    color: var(--na-muted);
}

.news-admin-empty > i {
    margin-bottom: 12px;
    font-size: 30px;
}

.news-admin-empty h4 {
    margin: 0 0 7px;
    color: var(--na-text);
}

.news-admin-empty p {
    margin: 0;
    font-size: 12px;
}

/* DARK MODE */

[data-theme="dark"] .news-admin-section,
body.dark-theme .news-admin-section {
    --na-background: #111b2b;
    --na-card: #182437;
    --na-text: #edf3fb;
    --na-muted: #a0aec2;
    --na-border: #2b3a50;
}

[data-theme="dark"] .news-admin-heading-icon,
body.dark-theme .news-admin-heading-icon {
    background: #20375d;
    color: #8db4ff;
}

[data-theme="dark"] .news-admin-language-tabs,
body.dark-theme .news-admin-language-tabs {
    background: #111b2b;
}

[data-theme="dark"] .news-admin-remove-image,
body.dark-theme .news-admin-remove-image {
    background: #3b2227;
    border-color: #654047;
    color: #ffaaaa;
}

[data-theme="dark"] .news-admin-status.published,
body.dark-theme .news-admin-status.published {
    background: #183b2a;
    color: #91d9aa;
}

[data-theme="dark"] .news-admin-status.draft,
body.dark-theme .news-admin-status.draft {
    background: #42351d;
    color: #f0d28b;
}

[data-theme="dark"] .news-admin-status.unpublished,
body.dark-theme .news-admin-status.unpublished {
    background: #43272b;
    color: #f1a3a3;
}

/* RESPONSIVE */

@media (max-width: 850px) {
    .news-admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-admin-library-toolbar {
        grid-template-columns: 1fr 160px;
    }

    .news-admin-library-toolbar > button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 550px) {
    .news-admin-section {
        padding: 14px;
    }

    .news-admin-panel {
        padding: 15px;
    }

    .news-admin-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .news-admin-library-toolbar {
        grid-template-columns: 1fr;
    }

    .news-admin-library-toolbar > button {
        grid-column: auto;
    }

    .news-admin-heading-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .news-admin-form-actions button {
        flex: 1 1 100%;
    }
}

/* END NTCF NEWS & EVENTS ADMIN CSS */

/* =========================================================
   START: NTCF SUPPORTERS & DONORS ADMIN CSS
   File: supporters-admin.css
========================================================= */

:root {
    --sa-primary: #246bfd;
    --sa-primary-hover: #1558df;
    --sa-primary-soft: #edf3ff;
    --sa-bg: #f4f7fb;
    --sa-card: #ffffff;
    --sa-input: #ffffff;
    --sa-subtle: #f8fafc;
    --sa-text: #172033;
    --sa-muted: #687386;
    --sa-border: #e2e8f0;
    --sa-success: #16834a;
    --sa-success-bg: #e8f8ef;
    --sa-warning: #a66b13;
    --sa-warning-bg: #fff5dc;
    --sa-danger: #dc3545;
    --sa-danger-bg: #fff0f1;
    --sa-radius: 15px;
    --sa-shadow: 0 5px 22px rgba(25, 42, 70, .055);
}

[data-theme="dark"],
body.dark-theme {
    --sa-primary: #78a4ff;
    --sa-primary-hover: #9bbaff;
    --sa-primary-soft: #203452;
    --sa-bg: #101827;
    --sa-card: #192437;
    --sa-input: #111d30;
    --sa-subtle: #202d41;
    --sa-text: #edf3ff;
    --sa-muted: #a4b0c3;
    --sa-border: #304057;
    --sa-success: #5bd18a;
    --sa-success-bg: #173c2c;
    --sa-warning: #f2c46d;
    --sa-warning-bg: #46391e;
    --sa-danger: #ff7b86;
    --sa-danger-bg: #48262d;
    --sa-shadow: 0 5px 22px rgba(0, 0, 0, .18);
}

/* Main section */
.supporters-admin,
#supportersManagement {
    width: 100%;
    min-width: 0;
    padding: 26px;
    color: var(--sa-text);
    background: var(--sa-bg);
    border-radius: var(--sa-radius);
    font-family: inherit;
    box-sizing: border-box;
}

.supporters-admin *,
#supportersManagement * {
    box-sizing: border-box;
}

.supporters-admin [hidden] {
    display: none !important;
}

/* Header */
.supporters-admin-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.supporters-admin-heading .supporters-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--sa-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.supporters-admin-heading h2 {
    margin: 0 0 8px;
    color: var(--sa-text);
    font-size: clamp(23px, 3vw, 30px);
    font-weight: 800;
}

.supporters-admin-heading p {
    max-width: 650px;
    margin: 0;
    color: var(--sa-muted);
    font-size: 13px;
    line-height: 1.7;
}

/* Statistics */
.supporters-admin-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.supporters-admin-stat {
    position: relative;
    overflow: hidden;
    padding: 21px;
    background: var(--sa-card);
    border: 1px solid var(--sa-border);
    border-radius: var(--sa-radius);
    box-shadow: var(--sa-shadow);
}

.supporters-admin-stat::after {
    position: absolute;
    right: -25px;
    bottom: -35px;
    width: 100px;
    height: 100px;
    background: var(--sa-primary-soft);
    border-radius: 50%;
    content: "";
    opacity: .7;
}

.supporters-admin-stat span,
.supporters-admin-stat strong {
    position: relative;
    z-index: 1;
    display: block;
}

.supporters-admin-stat span {
    margin-bottom: 10px;
    color: var(--sa-muted);
    font-size: 12px;
    font-weight: 650;
}

.supporters-admin-stat strong {
    color: var(--sa-text);
    font-size: 29px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

/* Main layout */
.supporters-admin-layout {
    display: grid;
    grid-template-columns: minmax(300px, .9fr) minmax(0, 1.35fr);
    align-items: start;
    gap: 21px;
}

.supporter-admin-panel {
    min-width: 0;
    padding: 23px;
    background: var(--sa-card);
    border: 1px solid var(--sa-border);
    border-radius: var(--sa-radius);
    box-shadow: var(--sa-shadow);
}

.supporter-admin-panel-heading {
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--sa-border);
}

.supporter-admin-panel-heading h3 {
    margin: 0;
    color: var(--sa-text);
    font-size: 17px;
    font-weight: 800;
}

/* Language editor */
.supporter-language-editor {
    padding: 17px;
    margin-bottom: 21px;
    background: var(--sa-primary-soft);
    border: 1px solid var(--sa-border);
    border-radius: 12px;
}

.supporter-language-editor-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.supporter-language-icon {
    display: flex;
    flex: 0 0 39px;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    color: #fff;
    background: var(--sa-primary);
    border-radius: 10px;
    font-size: 17px;
}

.supporter-language-editor-heading strong,
.supporter-language-editor-heading small {
    display: block;
}

.supporter-language-editor-heading strong {
    margin-bottom: 3px;
    color: var(--sa-text);
    font-size: 14px;
    font-weight: 800;
}

.supporter-language-editor-heading small {
    color: var(--sa-muted);
    font-size: 11px;
    line-height: 1.5;
}

.supporter-language-editor > label {
    display: block;
    margin-bottom: 7px;
    color: var(--sa-text);
    font-size: 12px;
    font-weight: 750;
}

.supporter-language-editor select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    color: var(--sa-text);
    background: var(--sa-input);
    border: 1px solid var(--sa-border);
    border-radius: 9px;
    font-size: 13px;
    font-weight: 650;
    outline: none;
}

.supporter-language-editor select:focus {
    border-color: var(--sa-primary);
    box-shadow: 0 0 0 3px rgba(36, 107, 253, .12);
}

.supporter-language-editor > p {
    margin: 10px 0 0;
    color: var(--sa-muted);
    font-size: 11px;
    line-height: 1.6;
}

/* Form grid */
.supporter-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 14px;
}

.supporter-form-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 8px;
}

.supporter-form-group.supporter-full {
    grid-column: 1 / -1;
}

.supporter-form-group label {
    color: var(--sa-text);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.5;
}

.supporter-form-group small {
    color: var(--sa-muted);
    font-size: 11px;
    line-height: 1.6;
}

/* Inputs */
.supporter-form-group input:not([type="file"]),
.supporter-form-group select,
.supporter-form-group textarea,
.supporters-admin-filters input,
.supporters-admin-filters select {
    width: 100%;
    min-width: 0;
    min-height: 43px;
    padding: 10px 12px;
    color: var(--sa-text);
    background: var(--sa-input);
    border: 1px solid var(--sa-border);
    border-radius: 9px;
    outline: none;
    font-family: inherit;
    font-size: 12px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.supporter-form-group textarea {
    min-height: 100px;
    resize: vertical;
    line-height: 1.6;
}

.supporter-form-group input::placeholder,
.supporter-form-group textarea::placeholder,
.supporters-admin-filters input::placeholder {
    color: var(--sa-muted);
    opacity: .75;
}

.supporter-form-group input:focus,
.supporter-form-group select:focus,
.supporter-form-group textarea:focus,
.supporters-admin-filters input:focus,
.supporters-admin-filters select:focus {
    border-color: var(--sa-primary);
    box-shadow: 0 0 0 3px rgba(36, 107, 253, .11);
}

.supporter-form-group input[type="file"] {
    width: 100%;
    padding: 10px;
    color: var(--sa-muted);
    background: var(--sa-subtle);
    border: 1px dashed var(--sa-border);
    border-radius: 9px;
    font-size: 11px;
}

.supporter-form-group input[type="file"]::file-selector-button {
    padding: 8px 11px;
    margin-right: 10px;
    color: var(--sa-primary);
    background: var(--sa-primary-soft);
    border: 0;
    border-radius: 7px;
    font-weight: 700;
    cursor: pointer;
}

/* Photo preview */
.supporter-upload-preview {
    position: relative;
    display: inline-flex;
    width: 140px;
    height: 140px;
    margin-top: 5px;
    overflow: hidden;
    background: var(--sa-subtle);
    border: 1px solid var(--sa-border);
    border-radius: 12px;
}

.supporter-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.supporter-remove-photo {
    position: absolute;
    top: 7px;
    right: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    color: #fff;
    background: var(--sa-danger);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

/* Upload progress */
.supporter-upload-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
}

.supporter-upload-track {
    width: 100%;
    height: 8px;
    overflow: hidden;
    background: var(--sa-subtle);
    border: 1px solid var(--sa-border);
    border-radius: 20px;
}

#supporterUploadProgressBar {
    width: 0;
    height: 100%;
    background: var(--sa-primary);
    border-radius: 20px;
    transition: width .2s ease;
}

#supporterUploadStatus {
    color: var(--sa-muted);
    font-size: 11px;
}

/* Buttons */
.supporter-primary-btn,
.supporter-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 41px;
    padding: 10px 15px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.supporter-primary-btn {
    color: #fff;
    background: var(--sa-primary);
    border-color: var(--sa-primary);
}

.supporter-primary-btn:hover {
    color: #fff;
    background: var(--sa-primary-hover);
    border-color: var(--sa-primary-hover);
    transform: translateY(-1px);
}

.supporter-secondary-btn {
    color: var(--sa-text);
    background: var(--sa-card);
    border-color: var(--sa-border);
}

.supporter-secondary-btn:hover {
    color: var(--sa-primary);
    background: var(--sa-primary-soft);
    border-color: var(--sa-primary);
}

.supporter-primary-btn:disabled,
.supporter-secondary-btn:disabled {
    cursor: not-allowed;
    opacity: .55;
    transform: none;
}

/* Form actions and messages */
.supporter-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding-top: 19px;
    margin-top: 19px;
    border-top: 1px solid var(--sa-border);
}

.supporter-form-message {
    display: none;
    padding: 11px 13px;
    margin-top: 15px;
    color: var(--sa-muted);
    background: var(--sa-subtle);
    border: 1px solid var(--sa-border);
    border-radius: 9px;
    font-size: 12px;
    line-height: 1.6;
}

.supporter-form-message:not(:empty) {
    display: block;
}

/* Filters */
.supporters-admin-filters {
    display: grid;
    grid-template-columns: minmax(130px, 1.5fr) repeat(2, minmax(100px, 1fr));
    gap: 9px;
    margin-bottom: 17px;
}

/* Loading, error, empty */
.supporters-admin-loading,
.supporters-admin-error,
.supporters-admin-empty {
    padding: 25px 15px;
    margin: 12px 0;
    border-radius: 10px;
    text-align: center;
    font-size: 12px;
    line-height: 1.7;
}

.supporters-admin-loading,
.supporters-admin-empty {
    color: var(--sa-muted);
    background: var(--sa-subtle);
    border: 1px dashed var(--sa-border);
}

.supporters-admin-error {
    color: var(--sa-danger);
    background: var(--sa-danger-bg);
    border: 1px solid var(--sa-border);
}

/* Table */
.supporters-admin-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--sa-border);
    border-radius: 10px;
}

.supporters-admin-table {
    width: 100%;
    min-width: 620px;
    color: var(--sa-text);
    background: var(--sa-card);
    border-collapse: separate;
    border-spacing: 0;
    font-size: 12px;
}

.supporters-admin-table th {
    padding: 13px 12px;
    color: var(--sa-muted);
    background: var(--sa-subtle);
    border-bottom: 1px solid var(--sa-border);
    text-align: left;
    white-space: nowrap;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.supporters-admin-table td {
    padding: 13px 12px;
    color: var(--sa-text);
    border-bottom: 1px solid var(--sa-border);
    vertical-align: middle;
    line-height: 1.5;
}

.supporters-admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.supporters-admin-table tbody tr:hover {
    background: var(--sa-subtle);
}

/* Table action buttons */
.supporters-admin-table button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 30px;
    padding: 6px 9px;
    margin: 2px;
    color: var(--sa-primary);
    background: var(--sa-primary-soft);
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 750;
    cursor: pointer;
}

.supporters-admin-table button:hover {
    border-color: var(--sa-primary);
}

.supporters-admin-table button.delete,
.supporters-admin-table button[data-action="delete"] {
    color: var(--sa-danger);
    background: var(--sa-danger-bg);
}

.supporters-admin-table button.delete:hover,
.supporters-admin-table button[data-action="delete"]:hover {
    border-color: var(--sa-danger);
}

/* Status badges */
.supporters-admin-table .published,
.supporters-admin-table [data-status="published"] {
    display: inline-flex;
    padding: 5px 9px;
    color: var(--sa-success);
    background: var(--sa-success-bg);
    border-radius: 30px;
    font-size: 10px;
    font-weight: 800;
}

.supporters-admin-table .draft,
.supporters-admin-table [data-status="draft"] {
    display: inline-flex;
    padding: 5px 9px;
    color: var(--sa-warning);
    background: var(--sa-warning-bg);
    border-radius: 30px;
    font-size: 10px;
    font-weight: 800;
}

/* Responsive */
@media (max-width: 1100px) {
    .supporters-admin-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .supporters-admin,
    #supportersManagement {
        padding: 17px;
    }

    .supporters-admin-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .supporters-admin-heading > button {
        width: 100%;
    }

    .supporters-admin-stats {
        gap: 10px;
    }

    .supporters-admin-stat {
        padding: 15px;
    }

    .supporters-admin-stat strong {
        font-size: 24px;
    }

    .supporter-admin-panel {
        padding: 17px;
    }
}

@media (max-width: 520px) {
    .supporters-admin,
    #supportersManagement {
        padding: 12px;
    }

    .supporters-admin-stats {
        grid-template-columns: 1fr;
    }

    .supporter-form-grid {
        grid-template-columns: 1fr;
    }

    .supporter-form-group.supporter-full {
        grid-column: auto;
    }

    .supporters-admin-filters {
        grid-template-columns: 1fr;
    }

    .supporter-form-actions {
        flex-direction: column;
    }

    .supporter-form-actions button {
        width: 100%;
    }

    .supporter-admin-panel {
        padding: 14px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .supporters-admin *,
    .supporters-admin *::before,
    .supporters-admin *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* =========================================================
   END: NTCF SUPPORTERS & DONORS ADMIN CSS
========================================================= */

/* =========================================================
   START: NTCF COMPLAINT & SUGGESTION ADMIN CSS
   File: feedback-admin.css
   Design reference: Objectives Admin Section
   ========================================================= */

.feedback-admin {
    --oe-primary: #246bfd;
    --oe-primary-dark: #1554d1;
    --oe-text: #172033;
    --oe-muted: #718096;
    --oe-border: #e5eaf2;
    --oe-background: #f6f8fc;
    --oe-white: #ffffff;

    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    color: var(--oe-text);
    box-sizing: border-box;
}

.feedback-admin *,
.feedback-admin *::before,
.feedback-admin *::after {
    box-sizing: border-box;
}

[data-theme="dark"] .feedback-admin,
body.dark-theme .feedback-admin {
    --oe-text: #edf2fb;
    --oe-muted: #a8b5c9;
    --oe-border: #344258;
    --oe-background: #111c2d;
    --oe-white: #19263a;
}


/* HEADER */

.feedback-admin .oe-header {
    position: relative;
    overflow: hidden;
    padding: 30px;
    margin-bottom: 22px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 95% 10%, rgba(255,255,255,.2), transparent 30%),
        linear-gradient(120deg, #164bb5, #246bfd);
    color: #fff;
}

.feedback-admin .oe-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.feedback-admin .oe-header-icon {
    width: 66px;
    height: 66px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    background: rgba(255,255,255,.16);
    font-size: 30px;
}

.feedback-admin .oe-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: rgba(255,255,255,.75);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.feedback-admin .oe-header h2 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 27px;
    font-weight: 800;
}

.feedback-admin .oe-header p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.85);
    font-size: 14px;
    line-height: 1.7;
}


/* STATUS */

.feedback-admin .oe-status {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 16px;
    margin-bottom: 15px;
    background: #eef4ff;
    border: 1px solid #dbe7ff;
    border-radius: 10px;
    color: #2458b6;
    font-size: 13px;
    font-weight: 600;
}

.feedback-admin .oe-status-indicator {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #246bfd;
}

.feedback-admin .oe-status.is-loaded {
    background: #edfaf2;
    border-color: #ccebd7;
    color: #187343;
}

.feedback-admin .oe-status.is-loaded .oe-status-indicator {
    background: #22a45a;
}

.feedback-admin .oe-status.is-error {
    background: #fff0f0;
    border-color: #ffd6d6;
    color: #c52c2c;
}

.feedback-admin .oe-status.is-error .oe-status-indicator {
    background: #dc3838;
}


/* MESSAGES */

.feedback-admin .oe-message {
    display: none;
    padding: 14px 17px;
    margin-bottom: 18px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 600;
}

.feedback-admin .oe-message.show {
    display: block;
}

.feedback-admin .oe-message.success {
    color: #187343;
    background: #edfaf2;
    border: 1px solid #ccebd7;
}

.feedback-admin .oe-message.error {
    color: #b42323;
    background: #fff0f0;
    border: 1px solid #ffd6d6;
}

.feedback-admin .oe-message.info {
    color: #2458b6;
    background: #eef4ff;
    border: 1px solid #dbe7ff;
}


/* STATISTICS */

.feedback-admin-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 22px;
}

.feedback-stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    padding: 20px;
    background: var(--oe-white);
    border: 1px solid var(--oe-border);
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(24,39,75,.035);
}

.feedback-stat-icon {
    display: grid;
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    place-items: center;
    background: #edf3ff;
    border-radius: 12px;
    font-size: 21px;
}

.feedback-stat-label {
    display: block;
    margin-bottom: 5px;
    color: var(--oe-muted);
    font-size: 11px;
    font-weight: 650;
}

.feedback-stat-card strong {
    display: block;
    color: var(--oe-text);
    font-size: 25px;
    font-weight: 800;
}


/* MAIN CARDS */

.feedback-admin .oe-card {
    padding: 25px;
    margin-bottom: 22px;
    background: var(--oe-white);
    border: 1px solid var(--oe-border);
    border-radius: 15px;
    box-shadow: 0 4px 18px rgba(24,39,75,.035);
}

.feedback-admin .oe-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 22px;
}

.feedback-admin .oe-card-heading h3 {
    margin: 4px 0 7px;
    color: var(--oe-text);
    font-size: 19px;
    font-weight: 800;
}

.feedback-admin .oe-card-heading p {
    margin: 0;
    color: var(--oe-muted);
    font-size: 13px;
    line-height: 1.6;
}

.feedback-admin .oe-section-number {
    display: inline-block;
    color: var(--oe-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}


/* FIELD GRID */

.feedback-admin .oe-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.feedback-admin .oe-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    margin-bottom: 17px;
}

.feedback-admin .oe-field label {
    color: var(--oe-text);
    font-size: 12px;
    font-weight: 750;
}

.feedback-admin .oe-field small {
    color: var(--oe-muted);
    font-size: 11px;
    line-height: 1.5;
}

.feedback-admin .oe-field input,
.feedback-admin .oe-field textarea,
.feedback-admin .oe-field select {
    width: 100%;
    min-width: 0;
    min-height: 45px;
    padding: 12px 14px;
    color: var(--oe-text);
    background: var(--oe-background);
    border: 1px solid var(--oe-border);
    border-radius: 9px;
    outline: none;
    font: inherit;
    font-size: 13px;
    transition: border-color .2s, box-shadow .2s;
}

.feedback-admin .oe-field input:focus,
.feedback-admin .oe-field textarea:focus,
.feedback-admin .oe-field select:focus {
    border-color: var(--oe-primary);
    box-shadow: 0 0 0 3px rgba(36,107,253,.12);
}

.feedback-admin .oe-field input::placeholder {
    color: var(--oe-muted);
    opacity: .8;
}


/* BUTTONS */

.feedback-admin-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 11px;
    margin-top: 12px;
}

.feedback-admin-primary-button,
.feedback-admin-danger-button,
.feedback-admin-refresh,
.feedback-admin-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 43px;
    padding: 11px 17px;
    border: 0;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
    transition: transform .2s, filter .2s, background .2s;
}

.feedback-admin-primary-button {
    color: #fff;
    background: var(--oe-primary);
}

.feedback-admin-primary-button:hover {
    background: var(--oe-primary-dark);
}

.feedback-admin-danger-button {
    color: #fff;
    background: #d83d45;
}

.feedback-admin-danger-button:hover {
    background: #b92730;
}

.feedback-admin-refresh {
    color: var(--oe-primary);
    background: #edf3ff;
    border: 1px solid #dbe7ff;
}

.feedback-admin-close {
    width: 39px;
    min-width: 39px;
    padding: 0;
    color: var(--oe-muted);
    background: var(--oe-background);
    border: 1px solid var(--oe-border);
    font-size: 17px;
}

.feedback-admin-primary-button:hover,
.feedback-admin-danger-button:hover,
.feedback-admin-refresh:hover {
    transform: translateY(-2px);
    filter: brightness(.97);
}

.feedback-admin button:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}


/* FILTERS */

.feedback-admin-filters {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 15px;
    align-items: end;
    padding: 18px;
    margin-bottom: 20px;
    background: var(--oe-background);
    border: 1px solid var(--oe-border);
    border-radius: 12px;
}

.feedback-admin-filters .oe-field {
    margin: 0;
}


/* TABLE */

.feedback-admin-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--oe-border);
    border-radius: 11px;
}

.feedback-admin-table {
    width: 100%;
    min-width: 850px;
    border-collapse: collapse;
    text-align: left;
}

.feedback-admin-table th {
    padding: 14px 13px;
    color: var(--oe-muted);
    background: var(--oe-background);
    border-bottom: 1px solid var(--oe-border);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.feedback-admin-table td {
    padding: 14px 13px;
    color: var(--oe-text);
    border-bottom: 1px solid var(--oe-border);
    font-size: 12px;
    vertical-align: middle;
}

.feedback-admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.feedback-admin-table tbody tr:hover {
    background: rgba(36,107,253,.035);
}

.feedback-table-type {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.feedback-table-type.complaint {
    color: #b52d36;
    background: #fff0f0;
}

.feedback-table-type.suggestion {
    color: #93620d;
    background: #fff6df;
}

.feedback-table-status {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.feedback-table-status.pending {
    color: #98600a;
    background: #fff5dd;
}

.feedback-table-status.reviewed {
    color: #2458b6;
    background: #edf3ff;
}

.feedback-table-status.resolved {
    color: #187343;
    background: #edfaf2;
}

.feedback-table-view {
    padding: 8px 12px;
    color: #fff;
    background: var(--oe-primary);
    border: 0;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}

.feedback-table-view:hover {
    background: var(--oe-primary-dark);
}


/* EMPTY / LOADING / ERROR */

.feedback-admin-state {
    padding: 25px;
    margin: 12px 0;
    color: var(--oe-muted);
    background: var(--oe-background);
    border: 1px dashed var(--oe-border);
    border-radius: 11px;
    text-align: center;
    font-size: 13px;
}

.feedback-admin-error {
    color: #b42323;
    background: #fff0f0;
    border-color: #ffd6d6;
}

.feedback-admin [hidden] {
    display: none !important;
}


/* DETAILS */

.feedback-detail-card {
    scroll-margin-top: 25px;
}

.feedback-detail-reference {
    padding: 13px 15px;
    margin-bottom: 20px;
    color: var(--oe-muted);
    background: var(--oe-background);
    border: 1px solid var(--oe-border);
    border-radius: 9px;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.feedback-detail-reference strong {
    color: var(--oe-primary);
}

.feedback-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.feedback-detail-item {
    min-width: 0;
    padding: 15px;
    background: var(--oe-background);
    border: 1px solid var(--oe-border);
    border-radius: 10px;
}

.feedback-detail-item > span {
    display: block;
    margin-bottom: 8px;
    color: var(--oe-muted);
    font-size: 11px;
    font-weight: 750;
}

.feedback-detail-item > strong {
    display: block;
    color: var(--oe-text);
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.feedback-detail-full {
    grid-column: 1 / -1;
}

.feedback-original-message {
    color: var(--oe-text);
    font-size: 13px;
    line-height: 1.85;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.feedback-detail-status-control {
    padding-top: 22px;
    margin-top: 22px;
    border-top: 1px solid var(--oe-border);
}

.feedback-detail-status-control .oe-field {
    max-width: 400px;
}


/* RESPONSIVE */

@media (max-width: 900px) {
    .feedback-admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feedback-admin-filters {
        grid-template-columns: 1fr 1fr;
    }

    .feedback-admin-filters .oe-field:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .feedback-admin {
        padding: 14px;
    }

    .feedback-admin .oe-header {
        padding: 22px 18px;
    }

    .feedback-admin .oe-header-content {
        align-items: flex-start;
        gap: 13px;
    }

    .feedback-admin .oe-header-icon {
        width: 48px;
        height: 48px;
        border-radius: 13px;
        font-size: 22px;
    }

    .feedback-admin .oe-header h2 {
        font-size: 21px;
    }

    .feedback-admin .oe-header p {
        font-size: 12px;
    }

    .feedback-admin .oe-card {
        padding: 17px;
    }

    .feedback-admin .oe-card-heading {
        flex-direction: column;
    }

    .feedback-admin-stats {
        gap: 10px;
    }

    .feedback-stat-card {
        padding: 13px;
        gap: 10px;
    }

    .feedback-stat-icon {
        width: 37px;
        height: 37px;
        font-size: 17px;
    }

    .feedback-stat-card strong {
        font-size: 21px;
    }

    .feedback-stat-label {
        font-size: 10px;
    }

    .feedback-admin .oe-fields-grid,
    .feedback-detail-grid,
    .feedback-admin-filters {
        grid-template-columns: 1fr;
    }

    .feedback-admin-filters .oe-field:first-child {
        grid-column: auto;
    }

    .feedback-detail-full {
        grid-column: auto;
    }

    .feedback-admin-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .feedback-admin-actions button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .feedback-admin *,
    .feedback-admin *::before,
    .feedback-admin *::after {
        transition-duration: .01ms !important;
    }
}

/* =========================================================
   END: NTCF COMPLAINT & SUGGESTION ADMIN CSS
   ========================================================= */
/* =========================================================
   START: NTCF SUPPORT & DONATE ADMIN CSS

   Section:
   - Contact Settings
   - QR Code Management
   - Cloudinary Image Upload
   - Bank Account Management
   - Payment Proof Reviews

   Theme:
   - Blue admin interface
   - Light and dark theme support

   ========================================================= */

.donate-admin {
    --donate-primary: #246bfd;
    --donate-primary-dark: #1755d1;
    --donate-text: var(--admin-text, #172033);
    --donate-muted: var(--admin-muted, #718096);
    --donate-card: var(--admin-card, #ffffff);
    --donate-border: var(--admin-border, #e4eaf2);
    --donate-input: var(--admin-input-bg, #ffffff);
    --donate-subtle: var(--admin-subtle-bg, #f5f8fc);

    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
    color: var(--donate-text);
}

.donate-admin *,
.donate-admin *::before,
.donate-admin *::after {
    box-sizing: border-box;
}

.donate-admin [hidden] {
    display: none !important;
}

/* HEADER */

.donate-admin .oe-header {
    padding: 26px;
    border-radius: 18px;
    background: linear-gradient(120deg, #173b78, #246bfd);
    color: #ffffff;
    overflow: hidden;
}

.donate-admin .oe-header-content {
    display: flex;
    align-items: center;
    gap: 18px;
}

.donate-admin .oe-header-icon {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 30px;
}

.donate-admin .oe-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.donate-admin .oe-header h2 {
    margin: 0 0 7px;
    color: #ffffff;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
}

.donate-admin .oe-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    line-height: 1.6;
}

/* CONNECTION STATUS */

.donate-admin .oe-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border: 1px solid var(--donate-border);
    border-radius: 11px;
    background: var(--donate-card);
    color: var(--donate-muted);
    font-size: 13px;
}

.donate-admin .oe-status-indicator {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #f59e0b;
}

.donate-admin .oe-status.is-connected .oe-status-indicator {
    background: #16a34a;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}

.donate-admin .oe-status.is-error .oe-status-indicator {
    background: #dc2626;
}

/* MESSAGE */

.donate-admin .oe-message {
    display: none;
    padding: 13px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.donate-admin .oe-message.is-visible {
    display: block;
}

.donate-admin .oe-message.success {
    color: #166534;
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.donate-admin .oe-message.error {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}

.donate-admin .oe-message.info {
    color: #1e40af;
    background: #eff6ff;
    border-color: #bfdbfe;
}

/* STATISTICS */

.donate-admin .feedback-admin-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.donate-admin .feedback-stat-card {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--donate-border);
    border-radius: 14px;
    background: var(--donate-card);
}

.donate-admin .feedback-stat-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #edf4ff;
    font-size: 21px;
}

.donate-admin .feedback-stat-label {
    display: block;
    margin-bottom: 5px;
    color: var(--donate-muted);
    font-size: 12px;
}

.donate-admin .feedback-stat-card strong {
    display: block;
    color: var(--donate-text);
    font-size: 24px;
    font-weight: 800;
}

/* CARDS */

.donate-admin .oe-card {
    min-width: 0;
    padding: 23px;
    border: 1px solid var(--donate-border);
    border-radius: 16px;
    background: var(--donate-card);
    box-shadow: 0 4px 18px rgba(20, 40, 80, 0.035);
}

.donate-admin .oe-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.donate-admin .oe-section-number {
    display: block;
    margin-bottom: 7px;
    color: var(--donate-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.donate-admin .oe-card-heading h3 {
    margin: 0 0 7px;
    color: var(--donate-text);
    font-size: 19px;
    font-weight: 800;
}

.donate-admin .oe-card-heading p {
    margin: 0;
    color: var(--donate-muted);
    font-size: 13px;
    line-height: 1.6;
}

/* FORM GRID */

.donate-admin .oe-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px;
}

.donate-admin .oe-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.donate-admin .oe-field-full {
    grid-column: 1 / -1;
}

.donate-admin .oe-field label {
    color: var(--donate-text);
    font-size: 13px;
    font-weight: 700;
}

.donate-admin .oe-field input,
.donate-admin .oe-field select,
.donate-admin .oe-field textarea {
    width: 100%;
    min-height: 44px;
    padding: 11px 13px;
    border: 1px solid var(--donate-border);
    border-radius: 9px;
    outline: none;
    background: var(--donate-input);
    color: var(--donate-text);
    font: inherit;
    font-size: 13px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.donate-admin .oe-field textarea {
    min-height: 90px;
    resize: vertical;
}

.donate-admin .oe-field input:focus,
.donate-admin .oe-field select:focus,
.donate-admin .oe-field textarea:focus {
    border-color: var(--donate-primary);
    box-shadow: 0 0 0 3px rgba(36, 107, 253, 0.12);
}

.donate-admin .oe-field small {
    color: var(--donate-muted);
    font-size: 11px;
    line-height: 1.5;
}

/* BUTTONS */

.donate-admin .feedback-admin-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.donate-admin .feedback-admin-primary-button,
.donate-admin .feedback-admin-refresh,
.donate-admin .feedback-admin-close {
    min-height: 40px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 9px;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    transition: 0.2s ease;
}

.donate-admin .feedback-admin-primary-button {
    background: var(--donate-primary);
    color: #ffffff;
}

.donate-admin .feedback-admin-primary-button:hover {
    background: var(--donate-primary-dark);
    transform: translateY(-1px);
}

.donate-admin .feedback-admin-refresh {
    border-color: var(--donate-border);
    background: var(--donate-subtle);
    color: var(--donate-text);
}

.donate-admin .feedback-admin-refresh:hover {
    border-color: var(--donate-primary);
    color: var(--donate-primary);
}

.donate-admin button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* QR UPLOAD */

.donate-admin .donate-upload-box {
    position: relative;
    overflow: hidden;
    border: 1.5px dashed #a9bfdf;
    border-radius: 12px;
    background: var(--donate-subtle);
}

.donate-admin .donate-upload-box input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.donate-admin .donate-upload-label {
    display: flex;
    min-height: 125px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 20px;
    cursor: pointer;
    text-align: center;
}

.donate-admin .donate-upload-label:hover {
    background: rgba(36, 107, 253, 0.045);
}

.donate-admin .donate-upload-icon {
    font-size: 27px;
}

.donate-admin .donate-upload-label strong {
    color: var(--donate-text);
    font-size: 13px;
}

.donate-admin .donate-upload-label small {
    color: var(--donate-muted);
    font-size: 11px;
}

.donate-admin .donate-admin-image-preview {
    padding: 15px;
    border: 1px solid var(--donate-border);
    border-radius: 12px;
    background: var(--donate-subtle);
}

.donate-admin .donate-preview-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--donate-text);
    font-size: 13px;
}

.donate-admin .donate-admin-image-preview img {
    display: block;
    width: min(100%, 260px);
    max-height: 260px;
    margin: 0 auto;
    border-radius: 9px;
    object-fit: contain;
    background: #ffffff;
}

.donate-admin .donate-remove-image {
    padding: 7px 10px;
    border: 1px solid #fecaca;
    border-radius: 7px;
    background: #fff1f2;
    color: #b91c1c;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

/* DIVIDER AND LIST */

.donate-admin .donate-admin-divider {
    height: 1px;
    margin: 26px 0;
    background: var(--donate-border);
}

.donate-admin .donate-list-heading {
    align-items: center;
    margin-bottom: 16px;
}

.donate-admin .feedback-admin-state {
    padding: 22px;
    border: 1px dashed var(--donate-border);
    border-radius: 10px;
    color: var(--donate-muted);
    font-size: 13px;
    text-align: center;
}

.donate-admin .donate-admin-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.donate-admin .donate-list-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    padding: 15px;
    border: 1px solid var(--donate-border);
    border-radius: 12px;
    background: var(--donate-card);
}

.donate-admin .donate-list-item-image {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--donate-border);
    border-radius: 9px;
    background: var(--donate-subtle);
    color: var(--donate-muted);
    font-size: 24px;
}

.donate-admin .donate-list-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
}

.donate-admin .donate-list-item-content {
    flex: 1;
    min-width: 0;
}

.donate-admin .donate-list-item h4 {
    margin: 0 0 5px;
    color: var(--donate-text);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.donate-admin .donate-list-item p {
    margin: 3px 0;
    color: var(--donate-muted);
    font-size: 11px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.donate-admin .donate-list-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.donate-admin .donate-list-item-actions button {
    padding: 7px 9px;
    border: 1px solid var(--donate-border);
    border-radius: 7px;
    background: var(--donate-subtle);
    color: var(--donate-text);
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
}

.donate-admin .donate-list-item-actions button:hover {
    border-color: var(--donate-primary);
    color: var(--donate-primary);
}

.donate-admin .donate-list-item-actions button.danger {
    border-color: #fecaca;
    color: #b91c1c;
}

.donate-admin .donate-active-label,
.donate-admin .donate-inactive-label {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
}

.donate-admin .donate-active-label {
    background: #dcfce7;
    color: #166534;
}

.donate-admin .donate-inactive-label {
    background: #f1f5f9;
    color: #64748b;
}

/* PROOF FILTERS */

.donate-admin .feedback-admin-filters {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px;
}

/* TABLE */

.donate-admin .feedback-admin-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--donate-border);
    border-radius: 10px;
}

.donate-admin .feedback-admin-table {
    width: 100%;
    min-width: 850px;
    border-collapse: collapse;
    color: var(--donate-text);
    font-size: 12px;
}

.donate-admin .feedback-admin-table th,
.donate-admin .feedback-admin-table td {
    padding: 13px 12px;
    border-bottom: 1px solid var(--donate-border);
    text-align: left;
    vertical-align: middle;
}

.donate-admin .feedback-admin-table th {
    background: var(--donate-subtle);
    color: var(--donate-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.donate-admin .feedback-admin-table tr:last-child td {
    border-bottom: 0;
}

.donate-admin .donate-proof-view-button {
    padding: 7px 10px;
    border: 1px solid #bfdbfe;
    border-radius: 7px;
    background: #eff6ff;
    color: #1d4ed8;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

.donate-admin .donate-proof-status {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    text-transform: capitalize;
}

.donate-admin .donate-proof-status.pending {
    background: #fef3c7;
    color: #92400e;
}

.donate-admin .donate-proof-status.reviewed {
    background: #dbeafe;
    color: #1e40af;
}

.donate-admin .donate-proof-status.verified {
    background: #dcfce7;
    color: #166534;
}

.donate-admin .donate-proof-status.rejected {
    background: #fee2e2;
    color: #991b1b;
}

/* PROOF DETAIL */

.donate-admin .feedback-detail-reference {
    padding: 12px 14px;
    border-radius: 9px;
    background: var(--donate-subtle);
    color: var(--donate-muted);
    font-size: 12px;
}

.donate-admin .feedback-detail-reference strong {
    color: var(--donate-text);
}

.donate-admin .feedback-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.donate-admin .donate-proof-detail-item {
    padding: 13px;
    border: 1px solid var(--donate-border);
    border-radius: 9px;
    overflow-wrap: anywhere;
}

.donate-admin .donate-proof-detail-item span {
    display: block;
    margin-bottom: 6px;
    color: var(--donate-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.donate-admin .donate-proof-detail-item strong {
    color: var(--donate-text);
    font-size: 13px;
    font-weight: 600;
}

.donate-admin .donate-proof-image-admin {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid var(--donate-border);
    border-radius: 11px;
    background: var(--donate-subtle);
}

.donate-admin .donate-proof-image-admin h4 {
    margin: 0 0 12px;
    color: var(--donate-text);
    font-size: 14px;
}

.donate-admin .donate-proof-image-admin img {
    display: block;
    width: min(100%, 420px);
    max-height: 420px;
    margin: 0 auto;
    border-radius: 8px;
    object-fit: contain;
    background: #ffffff;
}

.donate-admin .donate-proof-image-admin small {
    display: block;
    margin-top: 10px;
    color: var(--donate-muted);
    text-align: center;
}

.donate-admin .feedback-detail-status-control {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--donate-border);
}

.donate-admin .feedback-detail-status-control .oe-field {
    width: min(100%, 300px);
}

.donate-admin .feedback-admin-close {
    width: 38px;
    min-width: 38px;
    height: 38px;
    padding: 0;
    border-color: var(--donate-border);
    background: var(--donate-subtle);
    color: var(--donate-text);
    font-size: 23px;
}

/* DARK THEME */

body.dark-theme .donate-admin {
    --donate-text: var(--admin-text, #e8edf7);
    --donate-muted: var(--admin-muted, #a0aec0);
    --donate-card: var(--admin-card, #182235);
    --donate-border: var(--admin-border, #334155);
    --donate-input: var(--admin-input-bg, #111c2e);
    --donate-subtle: var(--admin-subtle-bg, #202d42);
}

body.dark-theme .donate-admin .feedback-stat-icon {
    background: rgba(59, 130, 246, 0.15);
}

body.dark-theme .donate-admin .donate-active-label {
    background: #123c2a;
    color: #86efac;
}

body.dark-theme .donate-admin .donate-inactive-label {
    background: #334155;
    color: #cbd5e1;
}

body.dark-theme .donate-admin .donate-proof-view-button {
    background: #172e50;
    border-color: #315b91;
    color: #93c5fd;
}

body.dark-theme .donate-admin .donate-remove-image {
    background: #451f27;
    border-color: #78313c;
    color: #fca5a5;
}

body.dark-theme .donate-admin .feedback-admin-primary-button {
    color: #ffffff;
}

/* RESPONSIVE */

@media (max-width: 950px) {
    .donate-admin .feedback-admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .donate-admin .donate-admin-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .donate-admin {
        gap: 15px;
    }

    .donate-admin .oe-header {
        padding: 20px;
    }

    .donate-admin .oe-header-content {
        align-items: flex-start;
        gap: 12px;
    }

    .donate-admin .oe-header-icon {
        width: 48px;
        height: 48px;
        font-size: 23px;
    }

    .donate-admin .oe-card {
        padding: 16px;
        border-radius: 12px;
    }

    .donate-admin .oe-card-heading {
        flex-direction: column;
        gap: 12px;
    }

    .donate-admin .oe-fields-grid {
        grid-template-columns: 1fr;
    }

    .donate-admin .oe-field-full {
        grid-column: auto;
    }

    .donate-admin .feedback-admin-filters {
        grid-template-columns: 1fr;
    }

    .donate-admin .feedback-detail-grid {
        grid-template-columns: 1fr;
    }

    .donate-admin .feedback-detail-status-control {
        align-items: stretch;
        flex-direction: column;
    }

    .donate-admin .feedback-detail-status-control .oe-field {
        width: 100%;
    }

    .donate-admin .feedback-admin-stats {
        gap: 9px;
    }

    .donate-admin .feedback-stat-card {
        padding: 13px;
        gap: 9px;
    }

    .donate-admin .feedback-stat-icon {
        width: 36px;
        height: 36px;
        font-size: 17px;
    }

    .donate-admin .feedback-stat-card strong {
        font-size: 20px;
    }

    .donate-admin .feedback-stat-label {
        font-size: 10px;
    }

    .donate-admin .donate-list-item {
        padding: 12px;
    }

    .donate-admin .donate-list-item-image {
        width: 62px;
        height: 62px;
    }

    .donate-admin .donate-preview-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   END: NTCF SUPPORT & DONATE ADMIN CSS
   ========================================================= */
   /* =========================================================
   START: NTCF COMMITTEE ADMIN CSS
   File: committee-admin.css

   Features:
   - Responsive committee management interface
   - Member and gallery forms
   - Photo upload previews
   - Light and dark admin themes
   - Multilingual admin interface

   ========================================================= */

.committee-admin-section {
    width: 100%;
    padding: 24px;
    color: var(--admin-text, #202938);
    background: var(--admin-bg, transparent);
    box-sizing: border-box;
}

.committee-admin-section * {
    box-sizing: border-box;
}

.committee-admin-language-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    margin-bottom: 25px;
    border: 1px solid var(--admin-border, #e3e8ef);
    border-radius: 13px;
    background: var(--admin-card, #fff);
}

.committee-admin-language-label {
    font-weight: 700;
    font-size: 14px;
}

.committee-admin-language-bar p {
    margin: 5px 0 0;
    color: var(--admin-muted, #718096);
    font-size: 12px;
}

.committee-admin-language-bar select {
    min-width: 150px;
    padding: 10px 13px;
    border: 1px solid var(--admin-border, #dce2ea);
    border-radius: 8px;
    background: var(--admin-input-bg, #fff);
    color: var(--admin-text, #202938);
}

.committee-admin-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
}

.committee-admin-eyebrow {
    color: #246bfd;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.committee-admin-heading h2 {
    margin: 8px 0;
    font-size: clamp(23px, 3vw, 30px);
    font-weight: 800;
}

.committee-admin-heading p,
.committee-admin-panel-heading p {
    color: var(--admin-muted, #718096);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.committee-admin-refresh,
.committee-admin-primary-button,
.committee-admin-secondary-button {
    min-height: 40px;
    border: 0;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: .2s ease;
}

.committee-admin-refresh {
    color: var(--admin-text, #202938);
    border: 1px solid var(--admin-border, #dce2ea);
    background: var(--admin-card, #fff);
}

.committee-admin-primary-button {
    background: #246bfd;
    color: #fff;
}

.committee-admin-primary-button:hover {
    background: #1555d8;
    transform: translateY(-1px);
}

.committee-admin-secondary-button {
    background: var(--admin-subtle-bg, #f0f3f8);
    color: var(--admin-text, #202938);
    border: 1px solid var(--admin-border, #dce2ea);
}

.committee-admin-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 25px;
}

.committee-admin-stat-card {
    padding: 18px;
    border-radius: 12px;
    border: 1px solid var(--admin-border, #e3e8ef);
    background: var(--admin-card, #fff);
}

.committee-admin-stat-card span {
    display: block;
    color: var(--admin-muted, #718096);
    font-size: 12px;
    font-weight: 600;
}

.committee-admin-stat-card strong {
    display: block;
    margin-top: 9px;
    font-size: 27px;
    font-weight: 800;
}

.committee-admin-tabs {
    display: flex;
    gap: 8px;
    padding: 6px;
    margin-bottom: 22px;
    border: 1px solid var(--admin-border, #e3e8ef);
    border-radius: 11px;
    background: var(--admin-card, #fff);
}

.committee-admin-tab {
    flex: 1;
    padding: 12px 15px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--admin-muted, #718096);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.committee-admin-tab.active {
    background: #246bfd;
    color: #fff;
}

.committee-admin-panel {
    display: none;
}

.committee-admin-panel.active {
    display: block;
}

.committee-admin-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}

.committee-admin-panel-heading h3 {
    font-size: 18px;
    margin: 0 0 7px;
}

.committee-admin-search {
    margin-bottom: 18px;
}

.committee-admin-search input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--admin-border, #dce2ea);
    border-radius: 9px;
    outline: none;
    background: var(--admin-input-bg, #fff);
    color: var(--admin-text, #202938);
}

.committee-admin-search input:focus,
.committee-admin-field input:focus,
.committee-admin-field textarea:focus {
    border-color: #246bfd;
    box-shadow: 0 0 0 3px rgba(36, 107, 253, .1);
}

.committee-admin-form-card {
    padding: 22px;
    margin-bottom: 25px;
    border: 1px solid var(--admin-border, #e3e8ef);
    border-radius: 13px;
    background: var(--admin-card, #fff);
}

.committee-admin-form-card[hidden] {
    display: none !important;
}

.committee-admin-form-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
}

.committee-admin-form-heading h3 {
    margin: 0 0 7px;
    font-size: 18px;
}

.committee-admin-form-heading p {
    color: var(--admin-muted, #718096);
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
}

.committee-admin-close-form {
    border: 0;
    background: transparent;
    color: var(--admin-muted, #718096);
    font-size: 28px;
    cursor: pointer;
}

.committee-admin-upload-area {
    margin-bottom: 25px;
}

.committee-admin-upload-area > label {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
}

.committee-admin-photo-upload {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 15px;
    border: 1px dashed var(--admin-border, #cbd5e1);
    border-radius: 11px;
    background: var(--admin-subtle-bg, #f8fafc);
}

.committee-admin-upload-preview {
    width: 105px;
    height: 105px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    background: var(--admin-card, #fff);
    border: 1px solid var(--admin-border, #dce2ea);
    font-size: 35px;
}

.committee-admin-upload-preview img,
.committee-admin-gallery-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.committee-admin-upload-controls p,
.committee-admin-gallery-upload p {
    color: var(--admin-muted, #718096);
    font-size: 11px;
    margin: 9px 0 0;
}

.committee-admin-upload-status {
    font-weight: 700;
}

.committee-admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.committee-admin-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 16px;
}

.committee-admin-field label {
    font-size: 12px;
    font-weight: 700;
}

.committee-admin-field input,
.committee-admin-field textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--admin-border, #dce2ea);
    border-radius: 8px;
    background: var(--admin-input-bg, #fff);
    color: var(--admin-text, #202938);
    font: inherit;
    font-size: 13px;
    outline: none;
}

.committee-admin-field textarea {
    resize: vertical;
    min-height: 75px;
}

.committee-admin-multilingual {
    padding: 18px;
    margin-top: 12px;
    border: 1px solid var(--admin-border, #e3e8ef);
    border-radius: 10px;
}

.committee-admin-multilingual h4 {
    margin: 0 0 16px;
    font-size: 14px;
}

.committee-admin-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    font-size: 13px;
}

.committee-admin-checkbox input {
    width: 17px;
    height: 17px;
    accent-color: #246bfd;
}

.committee-admin-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 17px;
    border-top: 1px solid var(--admin-border, #e3e8ef);
}

.committee-admin-list {
    display: grid;
    gap: 12px;
}

.committee-admin-member-row {
    display: grid;
    grid-template-columns: 75px minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    padding: 14px;
    border: 1px solid var(--admin-border, #e3e8ef);
    border-radius: 11px;
    background: var(--admin-card, #fff);
}

.committee-admin-member-row img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 9px;
    background: var(--admin-subtle-bg, #f1f5f9);
}

.committee-admin-member-info h4 {
    margin: 0 0 6px;
    font-size: 14px;
}

.committee-admin-member-info p {
    margin: 0 0 6px;
    color: var(--admin-muted, #718096);
    font-size: 12px;
}

.committee-admin-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    background: #e8f7ee;
    color: #168447;
}

.committee-admin-status.unpublished {
    background: #fff1e7;
    color: #b65b16;
}

.committee-admin-row-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.committee-admin-row-actions button {
    padding: 8px 10px;
    border: 1px solid var(--admin-border, #dce2ea);
    border-radius: 7px;
    background: var(--admin-card, #fff);
    color: var(--admin-text, #202938);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.committee-admin-row-actions .delete {
    color: #d93636;
}

.committee-admin-gallery-upload {
    padding: 15px;
    border: 1px dashed var(--admin-border, #cbd5e1);
    border-radius: 11px;
    background: var(--admin-subtle-bg, #f8fafc);
}

.committee-admin-gallery-preview {
    width: 100%;
    max-width: 380px;
    height: 190px;
    display: grid;
    place-items: center;
    overflow: hidden;
    margin-bottom: 14px;
    border-radius: 10px;
    border: 1px solid var(--admin-border, #dce2ea);
    background: var(--admin-card, #fff);
    font-size: 38px;
}

.committee-admin-gallery-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.committee-admin-gallery-card {
    overflow: hidden;
    border: 1px solid var(--admin-border, #e3e8ef);
    border-radius: 11px;
    background: var(--admin-card, #fff);
}

.committee-admin-gallery-card > img {
    display: block;
    width: 100%;
    height: 185px;
    object-fit: cover;
    background: var(--admin-subtle-bg, #f1f5f9);
}

.committee-admin-gallery-card-content {
    padding: 13px;
}

.committee-admin-gallery-card-content h4 {
    margin: 0 0 7px;
    font-size: 13px;
}

.committee-admin-gallery-card-content p {
    margin: 0 0 10px;
    color: var(--admin-muted, #718096);
    font-size: 11px;
}

.committee-admin-gallery-card .committee-admin-row-actions {
    justify-content: flex-start;
    margin-top: 12px;
}

.committee-admin-loading,
.committee-admin-empty {
    padding: 30px 15px;
    text-align: center;
    color: var(--admin-muted, #718096);
    border: 1px dashed var(--admin-border, #dce2ea);
    border-radius: 10px;
    background: var(--admin-card, #fff);
    font-size: 13px;
}

.committee-admin-notice {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 99999;
    max-width: min(380px, calc(100vw - 40px));
    padding: 13px 18px;
    border-radius: 9px;
    background: #172033;
    color: #fff;
    font-size: 13px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: .25s ease;
}

.committee-admin-notice.show {
    opacity: 1;
    transform: translateY(0);
}

/* Dark theme */
body.dark-theme .committee-admin-section {
    color: var(--admin-text, #e5e7eb);
}

body.dark-theme .committee-admin-language-bar,
body.dark-theme .committee-admin-stat-card,
body.dark-theme .committee-admin-tabs,
body.dark-theme .committee-admin-form-card,
body.dark-theme .committee-admin-member-row,
body.dark-theme .committee-admin-gallery-card,
body.dark-theme .committee-admin-loading,
body.dark-theme .committee-admin-empty {
    background: var(--admin-card, #172033);
    border-color: var(--admin-border, #334155);
}

body.dark-theme .committee-admin-field input,
body.dark-theme .committee-admin-field textarea,
body.dark-theme .committee-admin-search input,
body.dark-theme .committee-admin-language-bar select {
    background: var(--admin-input-bg, #111827);
    color: var(--admin-text, #e5e7eb);
    border-color: var(--admin-border, #334155);
}

body.dark-theme .committee-admin-photo-upload,
body.dark-theme .committee-admin-gallery-upload,
body.dark-theme .committee-admin-multilingual,
body.dark-theme .committee-admin-secondary-button {
    background: var(--admin-subtle-bg, #202b3d);
    border-color: var(--admin-border, #334155);
    color: var(--admin-text, #e5e7eb);
}

body.dark-theme .committee-admin-row-actions button {
    background: var(--admin-subtle-bg, #202b3d);
    color: var(--admin-text, #e5e7eb);
    border-color: var(--admin-border, #334155);
}

/* Responsive */
@media (max-width: 900px) {
    .committee-admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .committee-admin-gallery-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .committee-admin-section {
        padding: 14px;
    }

    .committee-admin-language-bar,
    .committee-admin-heading,
    .committee-admin-panel-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .committee-admin-language-bar select {
        width: 100%;
    }

    .committee-admin-stats {
        gap: 9px;
    }

    .committee-admin-stat-card {
        padding: 13px;
    }

    .committee-admin-stat-card strong {
        font-size: 22px;
    }

    .committee-admin-tabs {
        flex-direction: column;
    }

    .committee-admin-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .committee-admin-member-row {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .committee-admin-member-row img {
        width: 60px;
        height: 60px;
    }

    .committee-admin-row-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .committee-admin-gallery-list {
        grid-template-columns: 1fr;
    }

    .committee-admin-form-card {
        padding: 15px;
    }

    .committee-admin-photo-upload {
        align-items: flex-start;
        flex-direction: column;
    }

    .committee-admin-form-actions {
        flex-direction: column-reverse;
    }

    .committee-admin-form-actions button {
        width: 100%;
    }
}

/* =========================================================
   END: NTCF COMMITTEE ADMIN CSS
   ========================================================= */
   /* =========================================================
   START: NTCF COMMITTEE ADMIN CSS
   File: committee-admin.css

   Responsive admin interface.
   Supports the existing admin light/dark theme.

   ========================================================= */

.committee-admin {
    width: 100%;
    padding: 24px;
    color: var(--admin-text, #202938);
    background: transparent;
    box-sizing: border-box;
}

.committee-admin *,
.committee-admin *::before,
.committee-admin *::after {
    box-sizing: border-box;
}

.committee-admin [hidden] {
    display: none !important;
}

/* Language bar */

.ca-language-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 19px;
    margin-bottom: 25px;
    border: 1px solid var(--admin-border, #e2e8f0);
    border-radius: 12px;
    background: var(--admin-card, #fff);
}

.ca-language-bar strong {
    font-size: 14px;
}

.ca-language-bar p {
    margin: 5px 0 0;
    color: var(--admin-muted, #718096);
    font-size: 12px;
}

.ca-language-bar select {
    min-width: 150px;
    padding: 10px 12px;
    border: 1px solid var(--admin-border, #dce2ea);
    border-radius: 8px;
    background: var(--admin-input-bg, #fff);
    color: var(--admin-text, #202938);
}

/* Header */

.ca-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.ca-eyebrow {
    color: #246bfd;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.ca-header h2 {
    margin: 8px 0;
    font-size: clamp(23px, 3vw, 30px);
    font-weight: 800;
}

.ca-header p,
.ca-panel-heading p {
    margin: 0;
    color: var(--admin-muted, #718096);
    font-size: 13px;
    line-height: 1.6;
}

/* Buttons */

.ca-button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 16px;
    border: 0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.ca-button:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.ca-button-primary {
    color: #fff;
    background: #246bfd;
}

.ca-button-primary:hover:not(:disabled) {
    background: #1555d8;
    transform: translateY(-1px);
}

.ca-button-light {
    color: var(--admin-text, #202938);
    background: var(--admin-card, #fff);
    border: 1px solid var(--admin-border, #dce2ea);
}

/* Statistics */

.ca-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 25px;
}

.ca-stat {
    padding: 18px;
    border: 1px solid var(--admin-border, #e3e8ef);
    border-radius: 12px;
    background: var(--admin-card, #fff);
}

.ca-stat span {
    display: block;
    color: var(--admin-muted, #718096);
    font-size: 12px;
    font-weight: 600;
}

.ca-stat strong {
    display: block;
    margin-top: 9px;
    font-size: 27px;
    font-weight: 800;
}

/* Tabs */

.ca-tabs {
    display: flex;
    gap: 7px;
    padding: 6px;
    margin-bottom: 22px;
    border: 1px solid var(--admin-border, #e3e8ef);
    border-radius: 10px;
    background: var(--admin-card, #fff);
}

.ca-tab {
    flex: 1;
    padding: 12px 15px;
    border: 0;
    border-radius: 8px;
    color: var(--admin-muted, #718096);
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.ca-tab.active {
    color: #fff;
    background: #246bfd;
}

.ca-panel {
    display: none;
}

.ca-panel.active {
    display: block;
}

/* Panel heading */

.ca-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}

.ca-panel-heading h3 {
    margin: 0 0 7px;
    font-size: 18px;
}

/* Search */

.ca-search {
    display: block;
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 18px;
    border: 1px solid var(--admin-border, #dce2ea);
    border-radius: 9px;
    outline: none;
    background: var(--admin-input-bg, #fff);
    color: var(--admin-text, #202938);
    font: inherit;
    font-size: 13px;
}

.ca-search:focus,
.ca-field input:focus,
.ca-field textarea:focus {
    border-color: #246bfd;
    box-shadow: 0 0 0 3px rgba(36, 107, 253, .1);
}

/* Forms */

.ca-form-card {
    padding: 22px;
    margin-bottom: 25px;
    border: 1px solid var(--admin-border, #e3e8ef);
    border-radius: 13px;
    background: var(--admin-card, #fff);
}

.ca-form-heading {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 23px;
}

.ca-form-heading h3 {
    margin: 0 0 7px;
    font-size: 18px;
}

.ca-form-heading p {
    margin: 0;
    color: var(--admin-muted, #718096);
    font-size: 12px;
    line-height: 1.5;
}

.ca-close {
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 7px;
    background: var(--admin-subtle-bg, #f1f5f9);
    color: var(--admin-text, #202938);
    font-size: 25px;
    cursor: pointer;
}

/* Photo upload */

.ca-upload-section {
    margin-bottom: 25px;
}

.ca-main-label {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 800;
}

.ca-upload-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 15px;
    border: 1px dashed var(--admin-border, #cbd5e1);
    border-radius: 11px;
    background: var(--admin-subtle-bg, #f8fafc);
}

.ca-member-preview {
    width: 105px;
    height: 105px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--admin-border, #dce2ea);
    border-radius: 12px;
    background: var(--admin-card, #fff);
    font-size: 35px;
}

.ca-member-preview img,
.ca-gallery-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ca-upload-controls p,
.ca-gallery-upload p {
    margin: 9px 0 0;
    color: var(--admin-muted, #718096);
    font-size: 11px;
}

.ca-upload-status {
    font-weight: 700;
}

.ca-gallery-upload {
    padding: 15px;
    border: 1px dashed var(--admin-border, #cbd5e1);
    border-radius: 11px;
    background: var(--admin-subtle-bg, #f8fafc);
}

.ca-gallery-preview {
    width: 100%;
    max-width: 420px;
    height: 210px;
    display: grid;
    place-items: center;
    overflow: hidden;
    margin-bottom: 14px;
    border: 1px solid var(--admin-border, #dce2ea);
    border-radius: 10px;
    background: var(--admin-card, #fff);
    font-size: 40px;
}

/* Multilingual input groups */

.ca-language-fields {
    padding: 18px;
    margin-bottom: 18px;
    border: 1px solid var(--admin-border, #e3e8ef);
    border-radius: 10px;
    background: var(--admin-subtle-bg, transparent);
}

.ca-language-fields h4 {
    margin: 0 0 16px;
    font-size: 14px;
}

.ca-language-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ca-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    margin-bottom: 15px;
}

.ca-field label {
    font-size: 12px;
    font-weight: 700;
}

.ca-field input,
.ca-field textarea {
    width: 100%;
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid var(--admin-border, #dce2ea);
    border-radius: 8px;
    outline: none;
    background: var(--admin-input-bg, #fff);
    color: var(--admin-text, #202938);
    font: inherit;
    font-size: 13px;
}

.ca-field textarea {
    min-height: 95px;
    resize: vertical;
}

.ca-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ca-publish-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    font-size: 13px;
    font-weight: 600;
}

.ca-publish-check input {
    width: 17px;
    height: 17px;
    accent-color: #246bfd;
}

.ca-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 17px;
    border-top: 1px solid var(--admin-border, #e3e8ef);
}

/* Member list */

.ca-members-list {
    display: grid;
    gap: 12px;
}

.ca-member-card {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    padding: 14px;
    border: 1px solid var(--admin-border, #e3e8ef);
    border-radius: 11px;
    background: var(--admin-card, #fff);
}

.ca-member-card > img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 9px;
    background: var(--admin-subtle-bg, #f1f5f9);
}

.ca-member-info h4 {
    margin: 0 0 6px;
    font-size: 14px;
}

.ca-member-info p {
    margin: 0 0 6px;
    color: var(--admin-muted, #718096);
    font-size: 12px;
}

.ca-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 20px;
    background: #e8f7ee;
    color: #168447;
    font-size: 10px;
    font-weight: 800;
}

.ca-status.unpublished {
    background: #fff1e7;
    color: #b65b16;
}

/* Action buttons */

.ca-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.ca-actions button {
    padding: 8px 10px;
    border: 1px solid var(--admin-border, #dce2ea);
    border-radius: 7px;
    background: var(--admin-card, #fff);
    color: var(--admin-text, #202938);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.ca-actions .ca-delete {
    color: #d93636;
}

/* Gallery */

.ca-gallery-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.ca-gallery-card {
    overflow: hidden;
    border: 1px solid var(--admin-border, #e3e8ef);
    border-radius: 11px;
    background: var(--admin-card, #fff);
}

.ca-gallery-card > img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
    background: var(--admin-subtle-bg, #f1f5f9);
}

.ca-gallery-content {
    padding: 13px;
}

.ca-gallery-content h4 {
    margin: 0 0 7px;
    font-size: 13px;
}

.ca-gallery-content p {
    margin: 0 0 10px;
    color: var(--admin-muted, #718096);
    font-size: 11px;
    line-height: 1.5;
}

.ca-gallery-content .ca-actions {
    justify-content: flex-start;
    margin-top: 12px;
}

/* Empty state */

.ca-empty {
    padding: 30px 15px;
    text-align: center;
    color: var(--admin-muted, #718096);
    border: 1px dashed var(--admin-border, #dce2ea);
    border-radius: 10px;
    background: var(--admin-card, #fff);
    font-size: 13px;
}

/* Notification */

.ca-notice {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 99999;
    max-width: min(380px, calc(100vw - 40px));
    padding: 13px 18px;
    border-radius: 9px;
    background: #172033;
    color: #fff;
    font-size: 13px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: .25s ease;
}

.ca-notice.show {
    opacity: 1;
    transform: translateY(0);
}

/* Dark theme */

body.dark-theme .committee-admin {
    color: var(--admin-text, #e5e7eb);
}

body.dark-theme .ca-language-bar,
body.dark-theme .ca-stat,
body.dark-theme .ca-tabs,
body.dark-theme .ca-form-card,
body.dark-theme .ca-member-card,
body.dark-theme .ca-gallery-card,
body.dark-theme .ca-empty {
    background: var(--admin-card, #172033);
    border-color: var(--admin-border, #334155);
}

body.dark-theme .ca-language-bar select,
body.dark-theme .ca-search,
body.dark-theme .ca-field input,
body.dark-theme .ca-field textarea {
    background: var(--admin-input-bg, #111827);
    color: var(--admin-text, #e5e7eb);
    border-color: var(--admin-border, #334155);
}

body.dark-theme .ca-language-fields,
body.dark-theme .ca-upload-row,
body.dark-theme .ca-gallery-upload,
body.dark-theme .ca-button-light,
body.dark-theme .ca-close {
    background: var(--admin-subtle-bg, #202b3d);
    color: var(--admin-text, #e5e7eb);
    border-color: var(--admin-border, #334155);
}

body.dark-theme .ca-actions button {
    background: var(--admin-subtle-bg, #202b3d);
    color: var(--admin-text, #e5e7eb);
    border-color: var(--admin-border, #334155);
}

/* Responsive */

@media (max-width: 950px) {
    .ca-gallery-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ca-language-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 650px) {
    .committee-admin {
        padding: 14px;
    }

    .ca-language-bar,
    .ca-header,
    .ca-panel-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .ca-language-bar select {
        width: 100%;
    }

    .ca-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .ca-stat {
        padding: 13px;
    }

    .ca-stat strong {
        font-size: 22px;
    }

    .ca-tabs {
        flex-direction: column;
    }

    .ca-form-grid,
    .ca-gallery-list {
        grid-template-columns: 1fr;
    }

    .ca-member-card {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .ca-member-card > img {
        width: 60px;
        height: 60px;
    }

    .ca-member-card .ca-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .ca-upload-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .ca-form-card {
        padding: 15px;
    }

    .ca-form-actions {
        flex-direction: column-reverse;
    }

    .ca-form-actions button {
        width: 100%;
    }
}

/* =========================================================
   END: NTCF COMMITTEE ADMIN CSS
   ========================================================= */

/* =========================================================
   START: NTCF ADMIN GALLERY STYLES
   ========================================================= */

.gallery-admin-section {
    width: 100%;
    color: #172033;
}

.gallery-admin-section * {
    box-sizing: border-box;
}

.ga-page-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.ga-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #246bfd;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.ga-page-heading h2 {
    margin: 0 0 7px;
    font-size: clamp(23px, 3vw, 30px);
}

.ga-page-heading p,
.ga-panel-heading p,
.ga-list-heading p {
    margin: 0;
    color: #718096;
    font-size: 13px;
    line-height: 1.6;
}

.ga-add-new-btn,
.ga-save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 19px;
    border: 0;
    border-radius: 9px;
    background: #246bfd;
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    transition: .2s ease;
}

.ga-add-new-btn:hover,
.ga-save-btn:hover {
    background: #1755d1;
    transform: translateY(-1px);
}

.ga-message {
    margin-bottom: 20px;
    padding: 13px 16px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.6;
}

.ga-message.success {
    background: #e8f7ee;
    color: #17683c;
}

.ga-message.error {
    background: #fff0f0;
    color: #b52c3b;
}

.ga-message.info {
    background: #edf3ff;
    color: #245ac1;
}

.ga-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
    margin-bottom: 23px;
}

.ga-stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 1px solid #e3e9f2;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(22, 40, 75, .04);
}

.ga-stat-icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    font-size: 19px;
    font-weight: 800;
}

.ga-icon-blue {
    background: #edf3ff;
    color: #246bfd;
}

.ga-icon-green {
    background: #e8f7ee;
    color: #16834b;
}

.ga-icon-orange {
    background: #fff4e5;
    color: #bd7919;
}

.ga-stat-card span {
    display: block;
    margin-bottom: 6px;
    color: #718096;
    font-size: 12px;
    font-weight: 650;
}

.ga-stat-card strong {
    font-size: 25px;
    font-weight: 800;
}

.ga-editor-panel,
.ga-list-panel {
    margin-bottom: 23px;
    padding: 24px;
    border: 1px solid #e3e9f2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(22, 40, 75, .04);
}

.ga-editor-panel[hidden] {
    display: none;
}

.ga-panel-heading,
.ga-list-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
}

.ga-panel-heading h3,
.ga-list-heading h3 {
    margin: 0 0 6px;
    font-size: 19px;
}

.ga-close-editor {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 8px;
    background: #f0f3f8;
    color: #4a5568;
    font-size: 23px;
    cursor: pointer;
}

.ga-form-section {
    padding: 20px 0;
    border-top: 1px solid #edf0f5;
}

.ga-form-section:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.ga-form-section h4 {
    margin: 0 0 17px;
    font-size: 14px;
    font-weight: 800;
}

.ga-upload-area {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.ga-image-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px dashed #ccd6e4;
    border-radius: 11px;
    background: #f7f9fc;
    color: #8995a7;
}

.ga-image-preview span {
    font-size: 35px;
}

.ga-image-preview small {
    margin-top: 6px;
    font-size: 11px;
}

.ga-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ga-upload-controls {
    min-width: 0;
}

.ga-upload-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 8px;
    background: #edf3ff;
    color: #245ac1;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
}

.ga-upload-controls > label:not(.ga-upload-label),
.ga-field label {
    display: block;
    margin: 15px 0 7px;
    color: #344157;
    font-size: 12px;
    font-weight: 750;
}

.ga-help-text {
    margin: 7px 0 12px;
    color: #8792a2;
    font-size: 11px;
    line-height: 1.5;
}

.ga-field input,
.ga-field textarea,
.ga-field select,
.ga-upload-controls input {
    width: 100%;
    min-height: 43px;
    padding: 10px 12px;
    border: 1px solid #dce3ed;
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: #172033;
    font-size: 13px;
    transition: border .2s, box-shadow .2s;
}

.ga-field textarea {
    min-height: 90px;
    resize: vertical;
}

.ga-field input:focus,
.ga-field textarea:focus,
.ga-field select:focus,
.ga-upload-controls input:focus {
    border-color: #246bfd;
    box-shadow: 0 0 0 3px rgba(36, 107, 253, .09);
}

.ga-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ga-field {
    min-width: 0;
}

.ga-full {
    grid-column: 1 / -1;
}

.ga-upload-progress {
    height: 7px;
    margin-top: 12px;
    overflow: hidden;
    border-radius: 10px;
    background: #e8edf5;
}

.ga-upload-progress div {
    width: 100%;
    height: 100%;
    background: #246bfd;
    animation: gaProgressPulse 1s ease-in-out infinite alternate;
}

@keyframes gaProgressPulse {
    from { opacity: .4; }
    to { opacity: 1; }
}

.ga-upload-status {
    display: block;
    margin-top: 7px;
    color: #16834b;
    font-size: 11px;
}

.ga-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid #edf0f5;
}

.ga-save-btn:disabled {
    opacity: .6;
    cursor: wait;
}

.ga-cancel-btn,
.ga-refresh-btn {
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    background: #eef2f7;
    color: #344157;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
}

.ga-cancel-btn:hover,
.ga-refresh-btn:hover {
    background: #e0e7f1;
}

.ga-list-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ga-list-tools select {
    min-height: 39px;
    padding: 0 10px;
    border: 1px solid #dce3ed;
    border-radius: 8px;
    background: #fff;
    color: #344157;
    font-size: 12px;
}

.ga-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.ga-photo-card {
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 14px;
    min-width: 0;
    padding: 13px;
    border: 1px solid #e5eaf1;
    border-radius: 11px;
    background: #fff;
    transition: box-shadow .2s, transform .2s;
}

.ga-photo-card:hover {
    box-shadow: 0 6px 20px rgba(22, 40, 75, .07);
    transform: translateY(-2px);
}

.ga-photo-card > img {
    width: 125px;
    height: 115px;
    border-radius: 8px;
    background: #f0f3f8;
    object-fit: cover;
}

.ga-photo-info {
    min-width: 0;
}

.ga-photo-info h4 {
    margin: 2px 0 7px;
    overflow-wrap: anywhere;
    font-size: 13px;
}

.ga-photo-info p {
    margin: 0 0 8px;
    color: #8792a2;
    font-size: 11px;
}

.ga-photo-status {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
}

.ga-photo-status.published {
    background: #e7f7ed;
    color: #16834b;
}

.ga-photo-status.unpublished {
    background: #fff3df;
    color: #a36a0c;
}

.ga-photo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 11px;
}

.ga-photo-actions button {
    min-height: 29px;
    padding: 0 9px;
    border: 0;
    border-radius: 6px;
    background: #edf3ff;
    color: #245ac1;
    font-size: 10px;
    font-weight: 750;
    cursor: pointer;
}

.ga-photo-actions .ga-delete-btn {
    background: #fff0f0;
    color: #d83d4d;
}

.ga-list-loading,
.ga-list-empty {
    grid-column: 1 / -1;
    padding: 38px 15px;
    border: 1px dashed #dce3ed;
    border-radius: 10px;
    color: #718096;
    text-align: center;
    font-size: 13px;
}

.ga-list-empty > div {
    margin-bottom: 9px;
    font-size: 35px;
}

.ga-list-empty h4 {
    margin: 0 0 7px;
    color: #344157;
}

.ga-list-empty p {
    margin: 0;
}

@media (max-width: 900px) {
    .ga-photo-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .ga-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .ga-stats-grid {
        gap: 9px;
    }

    .ga-stat-card {
        gap: 9px;
        padding: 13px 10px;
    }

    .ga-stat-icon {
        width: 33px;
        height: 33px;
        font-size: 15px;
    }

    .ga-stat-card span {
        font-size: 10px;
    }

    .ga-stat-card strong {
        font-size: 21px;
    }

    .ga-editor-panel,
    .ga-list-panel {
        padding: 16px;
    }

    .ga-upload-area {
        grid-template-columns: 1fr;
    }

    .ga-image-preview {
        max-width: 260px;
    }

    .ga-form-grid {
        grid-template-columns: 1fr;
    }

    .ga-full {
        grid-column: auto;
    }

    .ga-list-heading {
        flex-direction: column;
    }

    .ga-photo-card {
        grid-template-columns: 95px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .ga-photo-card > img {
        width: 95px;
        height: 100px;
    }
}

/* =========================================================
   START: NTCF ADMIN GALLERY DARK MODE
   ========================================================= */

body.dark-theme .gallery-admin-section {
    color: #e5edf8;
}

body.dark-theme .ga-eyebrow {
    color: #70a5ff;
}

body.dark-theme .ga-page-heading p,
body.dark-theme .ga-panel-heading p,
body.dark-theme .ga-list-heading p {
    color: #a0aec0;
}

/* Statistics cards */

body.dark-theme .ga-stat-card,
body.dark-theme .ga-editor-panel,
body.dark-theme .ga-list-panel {
    background: #1e293b;
    border-color: #344256;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .16);
}

body.dark-theme .ga-stat-card span {
    color: #a0aec0;
}

body.dark-theme .ga-stat-card strong {
    color: #f1f5f9;
}

body.dark-theme .ga-icon-blue {
    background: #253b61;
    color: #80adff;
}

body.dark-theme .ga-icon-green {
    background: #173d32;
    color: #68d6a0;
}

body.dark-theme .ga-icon-orange {
    background: #49351e;
    color: #ffc36b;
}

/* Messages */

body.dark-theme .ga-message.success {
    background: #173d32;
    color: #80e0ae;
}

body.dark-theme .ga-message.error {
    background: #48252c;
    color: #ff9ca7;
}

body.dark-theme .ga-message.info {
    background: #20395e;
    color: #9cc1ff;
}

/* Editor headings and separators */

body.dark-theme .ga-panel-heading h3,
body.dark-theme .ga-list-heading h3,
body.dark-theme .ga-form-section h4 {
    color: #f1f5f9;
}

body.dark-theme .ga-form-section,
body.dark-theme .ga-form-actions {
    border-color: #344256;
}

body.dark-theme .ga-close-editor {
    background: #334155;
    color: #e2e8f0;
}

body.dark-theme .ga-close-editor:hover {
    background: #475569;
}

/* Form labels */

body.dark-theme .ga-upload-controls > label:not(.ga-upload-label),
body.dark-theme .ga-field label {
    color: #cbd5e1;
}

body.dark-theme .ga-help-text {
    color: #94a3b8;
}

/* Form inputs */

body.dark-theme .ga-field input,
body.dark-theme .ga-field textarea,
body.dark-theme .ga-field select,
body.dark-theme .ga-upload-controls input,
body.dark-theme .ga-list-tools select {
    background: #111c2e;
    color: #e5edf8;
    border-color: #3b4b63;
}

body.dark-theme .ga-field input::placeholder,
body.dark-theme .ga-field textarea::placeholder {
    color: #8492a6;
}

body.dark-theme .ga-field input:focus,
body.dark-theme .ga-field textarea:focus,
body.dark-theme .ga-field select:focus,
body.dark-theme .ga-upload-controls input:focus,
body.dark-theme .ga-list-tools select:focus {
    border-color: #70a5ff;
    box-shadow: 0 0 0 3px rgba(112, 165, 255, .13);
}

body.dark-theme .ga-field select option,
body.dark-theme .ga-list-tools select option {
    background: #111c2e;
    color: #e5edf8;
}

/* Image upload */

body.dark-theme .ga-image-preview {
    background: #111c2e;
    border-color: #475569;
    color: #94a3b8;
}

body.dark-theme .ga-upload-label {
    background: #253b61;
    color: #9cc1ff;
}

body.dark-theme .ga-upload-label:hover {
    background: #304c78;
}

body.dark-theme .ga-upload-progress {
    background: #334155;
}

body.dark-theme .ga-upload-status {
    color: #68d6a0;
}

/* Cancel and refresh buttons */

body.dark-theme .ga-cancel-btn,
body.dark-theme .ga-refresh-btn {
    background: #334155;
    color: #e2e8f0;
}

body.dark-theme .ga-cancel-btn:hover,
body.dark-theme .ga-refresh-btn:hover {
    background: #475569;
}

/* Gallery photo cards */

body.dark-theme .ga-photo-card {
    background: #172337;
    border-color: #344256;
}

body.dark-theme .ga-photo-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
}

body.dark-theme .ga-photo-card > img {
    background: #263449;
}

body.dark-theme .ga-photo-info h4 {
    color: #f1f5f9;
}

body.dark-theme .ga-photo-info p {
    color: #9aa9bd;
}

/* Published and unpublished badges */

body.dark-theme .ga-photo-status.published {
    background: #173d32;
    color: #80e0ae;
}

body.dark-theme .ga-photo-status.unpublished {
    background: #49351e;
    color: #ffc36b;
}

/* Photo action buttons */

body.dark-theme .ga-photo-actions button {
    background: #253b61;
    color: #9cc1ff;
}

body.dark-theme .ga-photo-actions button:hover {
    background: #304c78;
}

body.dark-theme .ga-photo-actions .ga-delete-btn {
    background: #48252c;
    color: #ff9ca7;
}

body.dark-theme .ga-photo-actions .ga-delete-btn:hover {
    background: #603039;
}

/* Loading and empty states */

body.dark-theme .ga-list-loading,
body.dark-theme .ga-list-empty {
    border-color: #475569;
    color: #a0aec0;
}

body.dark-theme .ga-list-empty h4 {
    color: #e2e8f0;
}

body.dark-theme .ga-list-empty p {
    color: #a0aec0;
}

/* Scrollbar */

body.dark-theme .gallery-admin-section * {
    scrollbar-color: #475569 #1e293b;
}

/* =========================================================
   END: NTCF ADMIN GALLERY DARK MODE
   ========================================================= */

/* =========================================================
   END: NTCF ADMIN GALLERY STYLES
   ========================================================= */

/* =========================================================
   START: NTCF ADMIN MEETING REQUESTS CSS
   File: meeting-requests-admin.css
   ========================================================= */

.ma-admin-section {
    --ma-primary: #246bfd;
    --ma-primary-dark: #1554d1;
    --ma-bg: #f4f7fb;
    --ma-card: #ffffff;
    --ma-text: #172033;
    --ma-muted: #68758a;
    --ma-border: #e3e9f2;
    --ma-danger: #dc3545;
    --ma-danger-bg: #fff0f1;
    --ma-success: #16845b;

    width: 100%;
    color: var(--ma-text);
}

.ma-admin-section *,
.ma-modal * {
    box-sizing: border-box;
}

.ma-page-header,
.ma-panel-heading,
.ma-form-footer,
.ma-toolbar,
.ma-modal-header,
.ma-modal-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ma-page-header {
    margin-bottom: 24px;
}

.ma-page-header h2 {
    margin: 5px 0;
    font-size: 27px;
    font-weight: 800;
}

.ma-page-header p,
.ma-panel-heading p {
    margin: 4px 0 0;
    color: var(--ma-muted);
    font-size: 13px;
}

.ma-eyebrow {
    color: var(--ma-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.ma-stat-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.ma-stat-card,
.ma-panel {
    background: var(--ma-card);
    border: 1px solid var(--ma-border);
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(20, 40, 80, .035);
}

.ma-stat-card {
    padding: 19px;
}

.ma-stat-card span {
    display: block;
    color: var(--ma-muted);
    font-size: 12px;
    margin-bottom: 10px;
}

.ma-stat-card strong {
    font-size: 27px;
    font-weight: 800;
}

.ma-panel {
    padding: 23px;
    margin-bottom: 22px;
}

.ma-panel-heading {
    margin-bottom: 20px;
}

.ma-panel-heading h3 {
    margin: 0;
    font-size: 18px;
}

.ma-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ma-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.ma-field span {
    font-size: 12px;
    font-weight: 700;
}

.ma-field input,
.ma-field textarea,
.ma-field select,
.ma-toolbar input,
.ma-toolbar select {
    width: 100%;
    min-width: 0;
    padding: 12px 13px;
    border: 1px solid var(--ma-border);
    border-radius: 9px;
    background: var(--ma-card);
    color: var(--ma-text);
    font: inherit;
    font-size: 13px;
    outline: none;
}

.ma-field input:focus,
.ma-field textarea:focus,
.ma-field select:focus,
.ma-toolbar input:focus,
.ma-toolbar select:focus {
    border-color: var(--ma-primary);
    box-shadow: 0 0 0 3px rgba(36, 107, 253, .1);
}

.ma-field textarea {
    resize: vertical;
}

.ma-form-footer {
    justify-content: flex-end;
}

.ma-btn {
    border: 0;
    border-radius: 9px;
    padding: 11px 16px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: .2s ease;
}

.ma-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.ma-btn-primary {
    color: #ffffff;
    background: var(--ma-primary);
}

.ma-btn-primary:hover {
    background: var(--ma-primary-dark);
}

.ma-btn-danger {
    color: #ffffff;
    background: var(--ma-danger);
}

.ma-btn-danger:hover {
    background: #b92333;
}

.ma-toolbar {
    justify-content: flex-start;
    margin-bottom: 15px;
}

.ma-toolbar input {
    flex: 1;
}

.ma-toolbar select {
    width: 180px;
}

.ma-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.ma-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.ma-table th {
    padding: 13px 12px;
    text-align: left;
    background: var(--ma-bg);
    color: var(--ma-muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .6px;
    white-space: nowrap;
}

.ma-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--ma-border);
    font-size: 12px;
    vertical-align: middle;
}

.ma-table tbody tr:hover {
    background: rgba(36, 107, 253, .025);
}

.ma-person-name {
    font-weight: 800;
}

.ma-subtext {
    display: block;
    margin-top: 4px;
    color: var(--ma-muted);
    font-size: 11px;
}

.ma-status {
    display: inline-block;
    border-radius: 30px;
    padding: 5px 9px;
    font-size: 10px;
    font-weight: 800;
    text-transform: capitalize;
    background: #edf1f7;
    color: #566174;
}

.ma-status-pending {
    background: #fff4d8;
    color: #956400;
}

.ma-status-approved {
    background: #e2f7ed;
    color: #13764c;
}

.ma-status-rejected {
    background: #fde8e9;
    color: #b42332;
}

.ma-status-completed {
    background: #e6efff;
    color: #2458b8;
}

.ma-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ma-small-btn {
    border: 1px solid var(--ma-border);
    border-radius: 7px;
    padding: 8px 11px;
    background: var(--ma-card);
    color: var(--ma-text);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.ma-small-btn:hover {
    border-color: var(--ma-primary);
    color: var(--ma-primary);
}

.ma-small-btn.danger {
    background: var(--ma-danger-bg);
    border-color: #f6c9ce;
    color: var(--ma-danger);
}

.ma-small-btn.danger:hover {
    background: var(--ma-danger);
    color: #ffffff;
}

.ma-message {
    font-size: 12px;
    color: var(--ma-muted);
}

.ma-message.success {
    color: var(--ma-success);
}

.ma-message.error {
    color: var(--ma-danger);
}

.ma-empty-state {
    text-align: center;
    padding: 45px 15px;
    color: var(--ma-muted);
}

.ma-empty-icon {
    font-size: 35px;
    margin-bottom: 10px;
}

.ma-empty-state h3 {
    color: var(--ma-text);
    margin: 0 0 5px;
}

/* Authorization */
.ma-notice {
    padding: 16px;
    border: 1px solid var(--ma-border);
    border-radius: 10px;
    margin-bottom: 15px;
    background: var(--ma-bg);
    font-size: 13px;
}

/* Modals */
.ma-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ma-modal.is-open {
    display: flex;
}

.ma-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 40, .68);
}

.ma-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    padding: 23px;
    border-radius: 15px;
    background: var(--ma-card);
    color: var(--ma-text);
    box-shadow: 0 20px 70px rgba(0, 0, 0, .25);
}

.ma-modal-header {
    border-bottom: 1px solid var(--ma-border);
    padding-bottom: 15px;
    margin-bottom: 18px;
}

.ma-modal-header h3 {
    margin: 0;
}

.ma-modal-close {
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 50%;
    background: var(--ma-bg);
    color: var(--ma-text);
    font-size: 23px;
    cursor: pointer;
}

.ma-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.ma-detail-item {
    padding: 12px;
    border: 1px solid var(--ma-border);
    border-radius: 9px;
    min-width: 0;
}

.ma-detail-item small {
    display: block;
    color: var(--ma-muted);
    margin-bottom: 6px;
}

.ma-detail-item div {
    font-size: 13px;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.ma-detail-wide {
    grid-column: 1 / -1;
}

.ma-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 10px;
}

.ma-attachment {
    padding: 12px;
    border: 1px solid var(--ma-border);
    border-radius: 9px;
    font-size: 11px;
}

.ma-attachment button {
    margin: 7px 5px 0 0;
}

.ma-modal-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--ma-border);
}

.ma-status-edit {
    margin: 0 auto 0 0;
    min-width: 150px;
}

.ma-preview-dialog {
    width: min(900px, 100%);
}

.ma-preview-content {
    text-align: center;
}

.ma-preview-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.ma-preview-content iframe {
    width: 100%;
    height: 70vh;
    border: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .ma-stat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .ma-page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .ma-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ma-form-grid,
    .ma-detail-grid {
        grid-template-columns: 1fr;
    }

    .ma-detail-wide {
        grid-column: auto;
    }

    .ma-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .ma-toolbar select {
        width: 100%;
    }

    .ma-modal-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ma-status-edit {
        width: 100%;
    }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .ma-admin-section,
    .ma-modal {
        --ma-bg: #151c29;
        --ma-card: #1d2737;
        --ma-text: #edf2fa;
        --ma-muted: #a5b1c3;
        --ma-border: #344154;
        --ma-danger-bg: #46252b;
    }
}

/* =========================================================
   END: NTCF ADMIN MEETING REQUESTS CSS
   ========================================================= */

/* =========================================================
   START: NTCF CONTACT US ADMIN CSS
   File: contact-admin.css

   Uses the existing admin.html theme.
   No separate light/dark mode is created.
========================================================= */

.contact-admin-section {
    width: 100%;
    color: inherit;
    font-family: inherit;
    box-sizing: border-box;

    --contact-admin-border: var(--admin-border, var(--border-color, currentColor));
    --contact-admin-surface: var(--admin-card-bg, var(--card-bg, transparent));
    --contact-admin-input: var(--admin-input-bg, var(--input-bg, transparent));
    --contact-admin-muted: var(--admin-muted, var(--text-muted, inherit));
    --contact-admin-primary: var(--primary-color, #246bfd);
    --contact-admin-radius: var(--admin-radius, 12px);
}

.contact-admin-section *,
.contact-admin-section *::before,
.contact-admin-section *::after {
    box-sizing: border-box;
}

.contact-admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-admin-eyebrow {
    display: inline-block;
    margin-bottom: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    opacity: 0.65;
}

.contact-admin-header h2 {
    margin: 0 0 7px;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 750;
    color: inherit;
}

.contact-admin-header p,
.contact-admin-card-heading p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--contact-admin-muted);
}

.contact-admin-status {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid var(--contact-admin-border);
    border-radius: 30px;
    font-size: 12px;
    color: inherit;
}

.contact-admin-card {
    padding: 22px;
    margin-bottom: 18px;
    border: 1px solid var(--contact-admin-border);
    border-radius: var(--contact-admin-radius);
    background: var(--contact-admin-surface);
}

.contact-admin-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-admin-card-heading h3 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
    color: inherit;
}

.contact-admin-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    margin-bottom: 17px;
}

.contact-admin-field:last-child {
    margin-bottom: 0;
}

.contact-admin-field label {
    font-size: 13px;
    font-weight: 650;
    color: inherit;
}

.contact-admin-field input,
.contact-admin-field textarea,
.contact-admin-field select {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 11px 13px;
    border: 1px solid var(--contact-admin-border);
    border-radius: 8px;
    outline: none;
    background: var(--contact-admin-input);
    color: inherit;
    font: inherit;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-admin-field textarea {
    min-height: 90px;
    resize: vertical;
    line-height: 1.5;
}

.contact-admin-field input:focus,
.contact-admin-field textarea:focus,
.contact-admin-field select:focus {
    border-color: var(--contact-admin-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--contact-admin-primary) 15%, transparent);
}

.contact-admin-field input::placeholder,
.contact-admin-field textarea::placeholder {
    color: var(--contact-admin-muted);
    opacity: 0.65;
}

.contact-admin-field small {
    font-size: 11px;
    line-height: 1.5;
    color: var(--contact-admin-muted);
}

.contact-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-admin-grid .contact-admin-field {
    margin-bottom: 0;
}

/* Show / hide switches */

.contact-admin-switch {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    user-select: none;
}

.contact-admin-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.contact-admin-slider {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 23px;
    flex: 0 0 42px;
    border-radius: 30px;
    background: #929292;
    transition: background 0.2s ease;
}

.contact-admin-slider::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
}

.contact-admin-switch input:checked + .contact-admin-slider {
    background: var(--contact-admin-primary);
}

.contact-admin-switch input:checked + .contact-admin-slider::before {
    transform: translateX(19px);
}

.contact-admin-switch input:focus-visible + .contact-admin-slider {
    outline: 3px solid color-mix(in srgb, var(--contact-admin-primary) 35%, transparent);
    outline-offset: 3px;
}

.contact-admin-switch-label {
    font-size: 12px;
    font-weight: 650;
    color: inherit;
}

/* Buttons */

.contact-admin-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    padding: 5px 0 15px;
}

.contact-admin-button {
    min-height: 43px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.2s ease, background 0.2s ease;
}

.contact-admin-button:hover {
    transform: translateY(-1px);
}

.contact-admin-button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}

.contact-admin-button.primary {
    background: var(--contact-admin-primary);
    color: #fff;
}

.contact-admin-button.secondary {
    border-color: var(--contact-admin-border);
    background: transparent;
    color: inherit;
}

.contact-admin-message {
    min-height: 20px;
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.5;
    color: inherit;
}

.contact-admin-message.success {
    color: #16a34a;
}

.contact-admin-message.error {
    color: #dc2626;
}

/* Responsive layout */

@media (max-width: 700px) {
    .contact-admin-card {
        padding: 17px;
    }

    .contact-admin-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .contact-admin-header {
        align-items: flex-start;
    }

    .contact-admin-actions {
        justify-content: stretch;
    }

    .contact-admin-button {
        flex: 1 1 100%;
    }
}

/* =========================================================
   END: NTCF CONTACT US ADMIN CSS
========================================================= */

/* =========================================================
   START: NTCF FOOTER ADMIN SECTION CSS
   File: footer-admin.css
   ========================================================= */

.footer-editor-section {
  --fa-accent: var(--primary-color, #246bfd);
  --fa-card: var(--card-bg, #ffffff);
  --fa-text: var(--text-color, #202938);
  --fa-muted: var(--muted-text, #748094);
  --fa-border: var(--border-color, #e2e7ef);
  --fa-input: var(--input-bg, #ffffff);

  width: 100%;
  color: var(--fa-text);
}

.footer-editor-section,
.footer-editor-section * {
  box-sizing: border-box;
}

.footer-editor-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.footer-editor-heading h2 {
  margin: 5px 0;
  font-size: 25px;
  font-weight: 800;
}

.footer-editor-heading p {
  margin: 0;
  color: var(--fa-muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer-editor-eyebrow {
  color: var(--fa-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.footer-admin-message {
  margin-bottom: 18px;
  padding: 12px 15px;
  color: var(--fa-muted);
  background: var(--fa-card);
  border: 1px solid var(--fa-border);
  border-radius: 9px;
  font-size: 13px;
}

.footer-admin-message.success {
  color: #16834b;
  border-color: #8bd5ad;
}

.footer-admin-message.error {
  color: #c53b3b;
  border-color: #e9aaaa;
}

.footer-admin-card {
  margin-bottom: 18px;
  padding: 22px;
  background: var(--fa-card);
  border: 1px solid var(--fa-border);
  border-radius: 13px;
  box-shadow: 0 3px 13px rgba(20, 35, 60, 0.035);
}

.footer-admin-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 750;
}

.footer-admin-help {
  margin: 0 0 17px;
  color: var(--fa-muted);
  font-size: 12px;
  line-height: 1.6;
}

.footer-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.footer-admin-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  color: var(--fa-text);
  font-size: 12px;
  font-weight: 650;
}

.footer-admin-field.full {
  grid-column: 1 / -1;
}

.footer-admin-field input,
.footer-admin-field textarea {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  color: var(--fa-text);
  background: var(--fa-input);
  border: 1px solid var(--fa-border);
  border-radius: 8px;
  outline: none;
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  transition: border-color .2s, box-shadow .2s;
}

.footer-admin-field textarea {
  min-height: 75px;
  resize: vertical;
  line-height: 1.6;
}

.footer-admin-field input:focus,
.footer-admin-field textarea:focus {
  border-color: var(--fa-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--fa-accent) 12%, transparent);
}

.footer-logo-preview {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px;
  background: var(--fa-input);
  border: 1px dashed var(--fa-border);
  border-radius: 9px;
}

.footer-logo-preview img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: white;
  border-radius: 7px;
}

.footer-logo-preview span {
  color: var(--fa-muted);
  font-size: 12px;
}

.footer-admin-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 17px;
}

.footer-admin-card-heading h3 {
  margin-bottom: 5px;
}

.footer-admin-card-heading .footer-admin-help {
  margin-bottom: 0;
}

.footer-admin-toggle-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 17px;
}

.footer-admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 39px;
  padding: 9px 11px;
  color: var(--fa-text);
  background: var(--fa-input);
  border: 1px solid var(--fa-border);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.footer-admin-toggle input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--fa-accent);
}

.footer-admin-list-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 22px 0 12px;
  font-size: 13px;
}

.footer-add-btn,
.footer-publish-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 9px 15px;
  color: #fff;
  background: var(--fa-accent);
  border: 1px solid var(--fa-accent);
  border-radius: 8px;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
}

.footer-add-btn:hover,
.footer-publish-btn:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.footer-publish-btn:disabled {
  opacity: .6;
  cursor: wait;
  transform: none;
}

.footer-admin-link-list {
  display: grid;
  gap: 12px;
}

.footer-admin-link-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(150px, 1.2fr) auto;
  gap: 10px;
  align-items: end;
  padding: 13px;
  background: var(--fa-input);
  border: 1px solid var(--fa-border);
  border-radius: 9px;
}

.footer-admin-link-row .footer-admin-field {
  font-size: 10px;
}

.footer-admin-link-row .footer-admin-field input {
  padding: 9px;
  font-size: 12px;
}

.footer-admin-link-row .footer-admin-toggle {
  min-height: 36px;
  padding: 7px;
  white-space: nowrap;
}

.footer-remove-link {
  width: 36px;
  height: 36px;
  color: #c83d3d;
  background: transparent;
  border: 1px solid #e7b6b6;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
}

.footer-remove-link:hover {
  background: rgba(210, 50, 50, .08);
}

.footer-admin-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 18px;
  background: var(--fa-card);
  border: 1px solid var(--fa-border);
  border-radius: 11px;
}

.footer-admin-submit span {
  color: var(--fa-muted);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .footer-admin-link-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-admin-link-row .footer-admin-toggle {
    grid-column: 1;
  }

  .footer-remove-link {
    grid-column: 2;
    justify-self: end;
  }
}

@media (max-width: 600px) {
  .footer-editor-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-admin-card {
    padding: 16px;
  }

  .footer-admin-grid {
    grid-template-columns: 1fr;
  }

  .footer-admin-field.full {
    grid-column: auto;
  }

  .footer-admin-card-heading {
    flex-direction: column;
  }

  .footer-admin-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-admin-submit .footer-publish-btn {
    width: 100%;
  }

  .footer-admin-link-row {
    grid-template-columns: 1fr;
  }

  .footer-admin-link-row .footer-admin-toggle,
  .footer-remove-link {
    grid-column: auto;
  }

  .footer-remove-link {
    justify-self: end;
  }
}

/* =========================================================
   START: FOOTER ADMIN DARK MODE SUPPORT
   Inherits the existing admin dashboard theme.
   ========================================================= */

/* Dark mode */
body.dark-theme .footer-editor-section {
  --fa-card: #1e293b;
  --fa-text: #f1f5f9;
  --fa-muted: #a8b4c5;
  --fa-border: #37465a;
  --fa-input: #172233;
  --fa-accent: #60a5fa;
}

body.dark-theme .footer-admin-card,
body.dark-theme .footer-admin-message,
body.dark-theme .footer-admin-submit {
  background: var(--fa-card);
  border-color: var(--fa-border);
  color: var(--fa-text);
}

body.dark-theme .footer-admin-field,
body.dark-theme .footer-admin-toggle,
body.dark-theme .footer-admin-list-heading {
  color: var(--fa-text);
}

body.dark-theme .footer-admin-field input,
body.dark-theme .footer-admin-field textarea {
  background: var(--fa-input);
  color: var(--fa-text);
  border-color: var(--fa-border);
}

body.dark-theme .footer-admin-field input::placeholder,
body.dark-theme .footer-admin-field textarea::placeholder {
  color: #8492a6;
}

body.dark-theme .footer-admin-toggle {
  background: var(--fa-input);
  border-color: var(--fa-border);
}

body.dark-theme .footer-admin-link-row {
  background: var(--fa-input);
  border-color: var(--fa-border);
}

body.dark-theme .footer-logo-preview {
  background: var(--fa-input);
  border-color: var(--fa-border);
}

body.dark-theme .footer-admin-message.success {
  color: #86efac;
  border-color: #28784c;
}

body.dark-theme .footer-admin-message.error {
  color: #fca5a5;
  border-color: #8f3d3d;
}

body.dark-theme .footer-remove-link {
  color: #fca5a5;
  border-color: #8f3d3d;
}

/* =========================================================
   END: FOOTER ADMIN DARK MODE SUPPORT
   ========================================================= */

/* =========================================================
   END: NTCF FOOTER ADMIN SECTION CSS
   ========================================================= */
