/* =====================================================
   SKY RP - STAFF PANEL
   ===================================================== */

/* ---------- RESET / BASE ---------- */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #08090b;
    color: white;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}


/* =====================================================
   SIDEBAR
   ===================================================== */

.staff-sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    background: #090a0c;
    border-right: 1px solid rgba(255,255,255,.06);
    z-index: 1000;
}


/* ---------- BRAND ---------- */

.staff-brand {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.staff-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
}

.staff-brand-logo {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: white;
    color: #090a0c;
    font-size: 18px;
    font-weight: 900;
}

.staff-brand-text {
    display: flex;
    flex-direction: column;
}

.staff-brand-text strong {
    font-size: 15px;
    letter-spacing: .5px;
}

.staff-brand-text span {
    margin-top: 3px;
    color: #666c75;
    font-size: 11px;
}


/* ---------- USUARIO SIDEBAR ---------- */

.staff-sidebar-user {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 18px 14px;
    padding: 12px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 10px;
}

.staff-avatar {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #1a1d22;
    color: white;
    font-size: 13px;
    font-weight: 700;
}

.staff-sidebar-user-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.staff-sidebar-user-info strong {
    overflow: hidden;
    color: white;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.staff-sidebar-user-info span {
    margin-top: 3px;
    color: #666c75;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .7px;
}


/* =====================================================
   NAV
   ===================================================== */

.staff-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 12px;
}

.staff-nav a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 8px;
    color: #858b94;
    text-decoration: none;
    font-size: 13px;
    transition:
        background .2s ease,
        color .2s ease;
}

.staff-nav a:hover {
    background: rgba(255,255,255,.045);
    color: white;
}

.staff-nav a.active {
    background: rgba(255,255,255,.08);
    color: white;
}

.staff-nav a.active::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 10px;
    bottom: 10px;
    width: 3px;
    background: white;
    border-radius: 0 4px 4px 0;
}

.staff-nav-icon {
    width: 20px;
    text-align: center;
    font-size: 15px;
}

.staff-nav-external {
    margin-left: auto;
    color: #4f555e;
    font-size: 12px;
}


/* =====================================================
   BOTTOM
   ===================================================== */

.staff-sidebar-bottom {
    margin-top: auto;
    padding: 14px 12px;
    border-top: 1px solid rgba(255,255,255,.06);
}

.staff-view-site,
.staff-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    color: #777e87;
    text-decoration: none;
    font-size: 12px;
    transition:
        background .2s ease,
        color .2s ease;
}

.staff-view-site:hover {
    background: rgba(255,255,255,.04);
    color: white;
}

.staff-logout:hover {
    background: rgba(255,70,70,.07);
    color: #ff7777;
}


/* =====================================================
   MAIN
   ===================================================== */

.staff-main {
    margin-left: 250px;
    min-height: 100vh;
    padding: 45px;
    background: #08090b;
    color: white;
}


/* =====================================================
   PAGE HEADER
   ===================================================== */

.staff-page-header {
    margin-bottom: 35px;
}

.staff-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #666c75;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.staff-page-header h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -.7px;
}

.staff-page-header p {
    margin-top: 8px;
    color: #737983;
    font-size: 14px;
}

.staff-page-header strong {
    color: #dfe2e7;
}


/* =====================================================
   GRID
   ===================================================== */

.staff-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}


/* =====================================================
   CARD
   ===================================================== */

.staff-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    min-height: 150px;
    padding: 25px;
    background: #0e1013;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 14px;
    color: white;
    text-decoration: none;
    overflow: hidden;
    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.staff-card:hover {
    transform: translateY(-3px);
    background: #111419;
    border-color: rgba(255,255,255,.13);
}

.staff-card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.055);
    border-radius: 12px;
    font-size: 21px;
}

.staff-card h2 {
    margin: 3px 0 8px;
    font-size: 17px;
}

.staff-card p {
    max-width: 330px;
    margin: 0;
    color: #717780;
    font-size: 12px;
    line-height: 1.6;
}

.staff-card-arrow {
    position: absolute;
    right: 22px;
    bottom: 20px;
    color: #555b64;
    font-size: 18px;
    transition:
        color .2s ease,
        transform .2s ease;
}

.staff-card:hover .staff-card-arrow {
    color: white;
    transform: translateX(3px);
}


/* =====================================================
   HEADER ACTIONS
   ===================================================== */

.staff-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.staff-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 34px;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 7px;
    background: #111317;
    color: #d9dce1;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease,
        transform .18s ease;
}

.staff-button:hover {
    background: #171a1f;
    border-color: rgba(255,255,255,.14);
    color: white;
}

.staff-button:active {
    transform: translateY(1px);
}

.staff-button-primary {
    background: #f1f1f1;
    border-color: #f1f1f1;
    color: #090a0c;
}

.staff-button-primary:hover {
    background: white;
    border-color: white;
    color: #090a0c;
}


/* =====================================================
   ANUNCIOS - STATS
   ===================================================== */

.announcement-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.announcement-stat {
    padding: 18px 20px;
    background: #0e1013;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 11px;
}

.announcement-stat-label {
    display: block;
    margin-bottom: 7px;
    color: #626872;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.announcement-stat-value {
    color: #f1f2f4;
    font-size: 24px;
    font-weight: 750;
}


/* =====================================================
   ANUNCIOS - LISTA
   ===================================================== */

.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.announcement-card {
    position: relative;
    padding: 19px 20px;
    background: #0e1013;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 11px;
    overflow: hidden;
    transition:
        background .18s ease,
        border-color .18s ease;
}

.announcement-card:hover {
    background: #101216;
    border-color: rgba(255,255,255,.09);
}

.announcement-card-featured {
    border-color: rgba(255,255,255,.10);
}

.announcement-featured-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #f1f1f1;
}

.announcement-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 10px;
}

.announcement-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.announcement-category {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    border-radius: 5px;
    background: rgba(255,255,255,.06);
    color: #aeb3bb;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.announcement-category.category-update,
.announcement-category.category-event,
.announcement-category.category-server,
.announcement-category.category-community,
.announcement-category.category-maintenance,
.announcement-category.category-important {
    background: rgba(255,255,255,.06);
    color: #aeb3bb;
}

.announcement-featured-badge {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    border-radius: 5px;
    background: rgba(255,255,255,.08);
    color: #d9dce1;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.announcement-date {
    color: #555b64;
    font-size: 11px;
    white-space: nowrap;
}

.announcement-card h2 {
    margin: 0 0 7px;
    color: #f0f1f3;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.2px;
}

.announcement-preview {
    max-width: 760px;
    margin: 0;
    color: #727882;
    font-size: 12px;
    line-height: 1.6;
}

.announcement-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 17px;
    padding-top: 13px;
    border-top: 1px solid rgba(255,255,255,.045);
}

.announcement-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.announcement-author-avatar {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #181b20;
    color: #aeb3bb;
    font-size: 9px;
    font-weight: 700;
}

.announcement-author-name {
    color: #6d737c;
    font-size: 11px;
}


/* =====================================================
   ANUNCIOS - ACCIONES
   ===================================================== */

.announcement-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.announcement-action {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #656b74;
    text-decoration: none;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    transition:
        background .16s ease,
        color .16s ease;
}

.announcement-action:hover {
    background: rgba(255,255,255,.055);
    color: #e2e4e7;
}

.announcement-action-edit:hover {
    background: rgba(255,255,255,.07);
    color: white;
}

.announcement-action-delete:hover {
    background: rgba(255,70,70,.08);
    color: #ff7777;
}

.announcement-action span {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}


/* =====================================================
   ANUNCIOS - EMPTY
   ===================================================== */

.announcement-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    padding: 40px;
    background: #0e1013;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 11px;
    text-align: center;
}

.announcement-empty-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 10px;
    background: rgba(255,255,255,.05);
    font-size: 18px;
}

.announcement-empty h2 {
    margin: 0 0 7px;
    color: #e4e6e9;
    font-size: 16px;
}

.announcement-empty p {
    max-width: 400px;
    margin: 0;
    color: #686e77;
    font-size: 12px;
    line-height: 1.6;
}


/* =====================================================
   USUARIOS
   ===================================================== */

.staff-user-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.staff-user-stat {
    position: relative;
    padding: 18px 20px;
    background: #0e1013;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 11px;
    overflow: hidden;
}

.staff-user-stat::after {
    content: "";
    position: absolute;
    right: -18px;
    bottom: -22px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255,255,255,.025);
    pointer-events: none;
}

.staff-user-stat-label {
    display: block;
    margin-bottom: 7px;
    color: #626872;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.staff-user-stat-value {
    color: #f1f2f4;
    font-size: 24px;
    font-weight: 750;
    line-height: 1;
}

.staff-user-stat-description {
    display: block;
    margin-top: 8px;
    color: #555b64;
    font-size: 10px;
}


/* ---------- USERS CARD ---------- */

.staff-users-card {
    overflow: hidden;
    background: #0e1013;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 13px;
}

.staff-users-header {
    display: grid;
    grid-template-columns: minmax(230px, 1.5fr) 150px 150px 110px;
    align-items: center;
    gap: 20px;
    padding: 13px 20px;
    background: rgba(255,255,255,.018);
    border-bottom: 1px solid rgba(255,255,255,.055);
    color: #555b64;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .9px;
    text-transform: uppercase;
}

.staff-user-row {
    display: grid;
    grid-template-columns: minmax(230px, 1.5fr) 150px 150px 110px;
    align-items: center;
    gap: 20px;
    min-height: 72px;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,.045);
    transition:
        background .18s ease,
        border-color .18s ease;
}

.staff-user-row:last-child {
    border-bottom: 0;
}

.staff-user-row:hover {
    background: rgba(255,255,255,.018);
}


/* ---------- USER IDENTITY ---------- */

.staff-user-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.staff-user-avatar {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #181b20;
    border: 1px solid rgba(255,255,255,.06);
    color: #e5e7ea;
    font-size: 12px;
    font-weight: 800;
}

.staff-user-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.staff-user-name {
    overflow: hidden;
    color: #e5e7ea;
    font-size: 13px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.staff-user-id {
    margin-top: 4px;
    color: #555b64;
    font-size: 10px;
}


/* ---------- ROLE BADGES ---------- */

.staff-role {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 88px;
    height: 25px;
    padding: 0 9px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 6px;
    background: rgba(255,255,255,.035);
    color: #aeb3bb;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.staff-role-owner {
    background: rgba(255,255,255,.09);
    border-color: rgba(255,255,255,.13);
    color: #f1f2f4;
}

.staff-role-admin {
    background: rgba(255,255,255,.065);
    border-color: rgba(255,255,255,.09);
    color: #d7d9dd;
}

.staff-role-moderador {
    background: rgba(255,255,255,.045);
    color: #bfc3c9;
}

.staff-role-soporte {
    background: rgba(255,255,255,.025);
    color: #8b919a;
}


/* ---------- USER DATE ---------- */

.staff-user-date {
    color: #686e77;
    font-size: 11px;
}


/* ---------- USER ACTIONS ---------- */

.staff-user-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.staff-user-action {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #656b74;
    text-decoration: none;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    transition:
        background .16s ease,
        color .16s ease;
}

.staff-user-action:hover {
    background: rgba(255,255,255,.055);
    color: #e4e6e9;
}

.staff-user-action-delete:hover {
    background: rgba(255,70,70,.08);
    color: #ff7777;
}

.staff-user-action-disabled {
    opacity: .25;
    cursor: default;
}

.staff-user-action-disabled:hover {
    background: transparent;
    color: #656b74;
}


/* ---------- USER EMPTY ---------- */

.staff-users-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    padding: 40px;
    text-align: center;
}

.staff-users-empty-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 11px;
    background: rgba(255,255,255,.045);
    color: #8d939b;
    font-size: 19px;
}

.staff-users-empty h2 {
    margin: 0 0 7px;
    color: #e4e6e9;
    font-size: 16px;
}

.staff-users-empty p {
    max-width: 390px;
    margin: 0;
    color: #686e77;
    font-size: 12px;
    line-height: 1.6;
}


/* =====================================================
   CONFIGURACIÓN
   ===================================================== */

.settings-layout {
    width: 100%;
    max-width: 980px;
}

.settings-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, .7fr);
    gap: 18px;
    align-items: start;
}

.settings-card {
    overflow: hidden;
    background: #0e1013;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 13px;
}

.settings-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 21px 22px;
    border-bottom: 1px solid rgba(255,255,255,.055);
}

.settings-card-heading {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.settings-card-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(255,255,255,.05);
    color: #c8cbd0;
    font-size: 15px;
}

.settings-card-header h2 {
    margin: 0;
    color: #e8eaed;
    font-size: 14px;
    font-weight: 700;
}

.settings-card-header p {
    margin: 5px 0 0;
    color: #60666f;
    font-size: 11px;
    line-height: 1.5;
}


/* ---------- SETTINGS FORM ---------- */

.settings-form {
    padding: 22px;
}

.settings-field {
    margin-bottom: 20px;
}

.settings-field:last-child {
    margin-bottom: 0;
}

.settings-field label {
    display: block;
    margin-bottom: 8px;
    color: #aeb3bb;
    font-size: 11px;
    font-weight: 700;
}

.settings-field small {
    display: block;
    margin-top: 7px;
    color: #555b64;
    font-size: 10px;
    line-height: 1.5;
}

.settings-field input,
.settings-field select,
.settings-field textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 8px;
    outline: none;
    background: #0a0c0f;
    color: #e4e6e9;
    font-family: inherit;
    font-size: 12px;
    transition:
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}

.settings-field input {
    height: 40px;
}

.settings-field select {
    height: 40px;
    cursor: pointer;
}

.settings-field textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.6;
}

.settings-field input::placeholder,
.settings-field textarea::placeholder {
    color: #454a52;
}

.settings-field input:hover,
.settings-field select:hover,
.settings-field textarea:hover {
    border-color: rgba(255,255,255,.11);
}

.settings-field input:focus,
.settings-field select:focus,
.settings-field textarea:focus {
    border-color: rgba(255,255,255,.18);
    background: #0c0e11;
    box-shadow: 0 0 0 3px rgba(255,255,255,.025);
}


/* ---------- SETTINGS STATUS ---------- */

.settings-status-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.settings-status-option {
    position: relative;
}

.settings-status-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.settings-status-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 0;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 8px;
    background: #0a0c0f;
    color: #777e87;
    font-size: 11px;
    font-weight: 650;
    cursor: pointer;
    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease;
}

.settings-status-option label:hover {
    background: #101216;
    border-color: rgba(255,255,255,.11);
    color: #c8cbd0;
}

.settings-status-option input:checked + label {
    background: rgba(255,255,255,.075);
    border-color: rgba(255,255,255,.16);
    color: #f0f1f3;
}


/* ---------- SETTINGS ACTIONS ---------- */

.settings-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.045);
}


/* ---------- SETTINGS INFO ---------- */

.settings-info-card {
    padding: 20px;
    background: #0e1013;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 13px;
}

.settings-info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 17px;
}

.settings-info-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,.05);
    color: #aeb3bb;
    font-size: 13px;
}

.settings-info-header h3 {
    margin: 0;
    color: #dfe2e7;
    font-size: 12px;
    font-weight: 700;
}

.settings-info-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.settings-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 11px;
    border-bottom: 1px solid rgba(255,255,255,.04);
}

.settings-info-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.settings-info-label {
    color: #626872;
    font-size: 10px;
}

.settings-info-value {
    color: #aeb3bb;
    font-size: 10px;
    font-weight: 650;
    text-align: right;
}


/* ---------- SETTINGS ALERT ---------- */

.staff-alert {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 18px;
    padding: 13px 15px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 9px;
    background: rgba(255,255,255,.025);
    color: #aeb3bb;
    font-size: 11px;
    line-height: 1.55;
}

.staff-alert-icon {
    flex-shrink: 0;
    color: #d4d7dc;
    font-size: 13px;
}


/* ---------- SETTINGS STATUS PREVIEW ---------- */

.settings-preview {
    margin-top: 18px;
    padding: 15px;
    border: 1px solid rgba(255,255,255,.045);
    border-radius: 9px;
    background: #0a0c0f;
}

.settings-preview-label {
    display: block;
    margin-bottom: 10px;
    color: #555b64;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .9px;
    text-transform: uppercase;
}

.settings-preview-status {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #aeb3bb;
    font-size: 11px;
}

.settings-preview-dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #666c75;
}

.settings-preview-dot.online {
    background: #71d49b;
    box-shadow: 0 0 0 4px rgba(113,212,155,.08);
}

.settings-preview-dot.maintenance {
    background: #d8b568;
    box-shadow: 0 0 0 4px rgba(216,181,104,.08);
}

.settings-preview-dot.offline {
    background: #777e87;
}


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1000px) {

    .settings-grid {
        grid-template-columns: 1fr;
    }

    .staff-user-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .staff-users-header,
    .staff-user-row {
        grid-template-columns: minmax(220px, 1.5fr) 130px 120px 100px;
    }
}


@media (max-width: 850px) {

    .staff-sidebar {
        width: 70px;
    }

    .staff-brand {
        padding: 18px 15px;
    }

    .staff-brand-text {
        display: none;
    }

    .staff-sidebar-user-info {
        display: none;
    }

    .staff-sidebar-user {
        justify-content: center;
        margin: 14px 8px;
    }

    .staff-nav {
        padding: 0 8px;
    }

    .staff-nav a {
        justify-content: center;
        padding: 0;
    }

    .staff-nav a > span:not(.staff-nav-icon) {
        display: none;
    }

    .staff-nav-external {
        display: none;
    }

    .staff-nav a.active::before {
        left: -8px;
    }

    .staff-sidebar-bottom {
        padding: 10px 8px;
    }

    .staff-view-site,
    .staff-logout {
        justify-content: center;
        padding: 12px 0;
    }

    .staff-view-site span:last-child,
    .staff-logout span:last-child {
        display: none;
    }

    .staff-main {
        margin-left: 70px;
        padding: 25px;
    }

    .staff-grid {
        grid-template-columns: 1fr;
    }

    .announcement-stats {
        grid-template-columns: 1fr;
    }

    .staff-users-card {
        overflow-x: auto;
    }

    .staff-users-header,
    .staff-user-row {
        min-width: 720px;
    }
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 600px) {

    .staff-main {
        padding: 20px 15px;
    }

    .staff-page-header {
        margin-bottom: 25px;
    }

    .staff-page-header h1 {
        font-size: 26px;
    }

    .staff-header-actions {
        width: 100%;
        margin-top: 15px;
    }

    .staff-button {
        width: 100%;
    }

    .announcement-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .announcement-date {
        font-size: 10px;
    }

    .announcement-footer {
        align-items: flex-end;
    }

    .staff-user-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .staff-user-stat {
        padding: 15px;
    }

    .staff-user-stat-value {
        font-size: 21px;
    }

    .settings-form {
        padding: 17px;
    }

    .settings-card-header {
        padding: 17px;
    }

    .settings-status-options {
        grid-template-columns: 1fr;
    }

    .settings-actions {
        flex-direction: column-reverse;
    }

    .settings-actions .staff-button {
        width: 100%;
    }
}