/* ==========================================
   ADMIN CMS PORTAL - Styles (admin.css)
   ========================================== */

.admin-body {
    background: #f3f6f4;
    min-height: 100vh;
}

/* ==========================================
   VIEW 1: ADMIN LOGIN SCREEN
   ========================================== */
.admin-login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(13, 59, 30, 0.92), rgba(20, 90, 46, 0.88)),
        url('https://images.unsplash.com/photo-1448375240586-882707db888b?w=1600&h=900&fit=crop') center/cover no-repeat;
}

.admin-login-box {
    background: var(--white);
    max-width: 460px;
    width: 100%;
    padding: 44px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.admin-login-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}
.admin-login-brand h2 {
    font-size: 20px;
    color: var(--green-900);
    line-height: 1.2;
}
.admin-login-brand p {
    font-size: 13px;
    color: var(--gray-500);
}

.admin-login-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #fdedec;
    color: #c0392b;
    border: 1px solid #f5b7b1;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 18px;
}

.admin-login-form .form-group {
    margin-bottom: 18px;
}
.admin-login-form label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.input-icon {
    position: relative;
}
.input-icon > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}
.input-icon input {
    width: 100%;
    padding: 12px 40px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
}
.input-icon input:focus {
    border-color: var(--green-600);
}

.pwd-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
}

.admin-login-btn {
    width: 100%;
    justify-content: center;
    padding: 13px;
    font-size: 15px;
}

.admin-login-hint {
    margin-top: 22px;
    padding: 14px;
    background: var(--green-50);
    border: 1px dashed var(--green-300);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 13px;
    color: var(--green-900);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-quick-admin {
    align-self: center;
    padding: 6px 14px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--green-600);
    background: var(--green-600);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.btn-quick-admin:hover { background: var(--green-700); }

.admin-login-back {
    text-align: center;
    margin-top: 20px;
    font-size: 13.5px;
}
.admin-login-back a {
    color: var(--green-700);
    font-weight: 600;
}
.admin-login-back a:hover { text-decoration: underline; }

/* ==========================================
   VIEW 2: ADMIN DASHBOARD LAYOUT
   ========================================== */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
    width: 270px;
    background: var(--green-900);
    color: var(--white);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-brand {
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sidebar-brand .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
}
.sidebar-brand-text h3 {
    font-size: 15px;
    letter-spacing: 0.5px;
}
.sidebar-brand-text span {
    font-size: 12px;
    color: var(--green-200);
}

.sidebar-admin-profile {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0,0,0,0.18);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.admin-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--green-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}
.sidebar-admin-profile strong {
    display: block;
    font-size: 14px;
}
.online-dot {
    font-size: 11.5px;
    color: var(--green-300);
}

.sidebar-menu {
    padding: 16px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-section-label {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--green-300);
    letter-spacing: 1px;
    padding: 12px 10px 6px;
}

.admin-nav-btn {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.82);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    transition: var(--transition);
}
.admin-nav-btn i {
    width: 18px;
    font-size: 15px;
}
.admin-nav-btn span:nth-child(2) {
    flex: 1;
}
.admin-nav-btn:hover {
    background: rgba(255,255,255,0.08);
    color: var(--white);
}
.admin-nav-btn.active {
    background: var(--green-600);
    color: var(--white);
    font-weight: 600;
}

.menu-badge {
    background: rgba(255,255,255,0.18);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-ext-link,
.sidebar-logout-btn {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}
.sidebar-ext-link {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}
.sidebar-ext-link:hover { background: rgba(255,255,255,0.18); }

.sidebar-logout-btn {
    background: #c0392b;
    color: var(--white);
    border: none;
}
.sidebar-logout-btn:hover { background: #e74c3c; }

/* Main Workspace */
.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-topbar {
    background: var(--white);
    height: 68px;
    padding: 0 28px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}

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

.sidebar-toggle-btn {
    display: none;
    background: var(--gray-100);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 16px;
}

.topbar-page-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--green-900);
}

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

.topbar-quick-link {
    padding: 7px 14px;
    border-radius: var(--radius-xl);
    background: var(--green-50);
    color: var(--green-800);
    border: 1px solid var(--green-100);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.topbar-quick-link:hover {
    background: var(--green-600);
    color: var(--white);
}

.topbar-user {
    padding: 7px 14px;
    border-radius: var(--radius-xl);
    background: var(--gray-100);
    color: var(--gray-800);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.topbar-user i { color: var(--green-600); }

.admin-content-area {
    padding: 28px;
    flex: 1;
}

.admin-panel {
    display: none;
}
.admin-panel.active {
    display: block;
}

/* ==========================================
   PANEL 1: OVERVIEW
   ========================================== */
.overview-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.ov-stat-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 18px;
    cursor: pointer;
    transition: var(--transition);
}
.ov-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--green-400);
}

.ov-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.ov-stat-icon.green { background: var(--green-50); color: var(--green-600); }
.ov-stat-icon.blue { background: #ebf5fb; color: #2980b9; }
.ov-stat-icon.red { background: #fdedec; color: #e74c3c; }
.ov-stat-icon.orange { background: #fef5e7; color: #d35400; }

.ov-stat-card h3 {
    font-size: 28px;
    color: var(--gray-900);
    line-height: 1.1;
}
.ov-stat-card p {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}
.ov-stat-card span {
    font-size: 12px;
    color: var(--green-600);
}

.overview-actions-box {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}
.overview-actions-box h3 {
    font-size: 18px;
    color: var(--green-900);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.overview-actions-box h3 i { color: var(--green-600); }

.quick-action-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.qa-btn {
    padding: 24px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--green-100);
    background: var(--green-50);
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.qa-btn:hover {
    background: var(--green-600);
    color: var(--white);
    transform: translateY(-4px);
}
.qa-btn i {
    font-size: 28px;
    color: var(--green-600);
}
.qa-btn:hover i { color: var(--white); }
.qa-btn strong {
    font-size: 15px;
    color: var(--green-900);
}
.qa-btn:hover strong { color: var(--white); }
.qa-btn span {
    font-size: 12px;
    color: var(--gray-600);
}
.qa-btn:hover span { color: var(--green-100); }

/* ==========================================
   CARDS, FORMS & TABLES IN PANELS
   ========================================== */
.panel-grid-2 {
    display: grid;
    grid-template-columns: 440px 1fr;
    gap: 24px;
    align-items: start;
}

.panel-grid-emp {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 24px;
    align-items: start;
}

.admin-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    padding: 24px;
}

.admin-card-header {
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}
.admin-card-header.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.admin-card-header h3 {
    font-size: 17px;
    color: var(--green-900);
    display: flex;
    align-items: center;
    gap: 8px;
}
.admin-card-header h3 i { color: var(--green-600); }

.admin-select-sm,
.admin-search-sm {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-300);
    font-size: 13px;
    outline: none;
}

.admin-form .form-group {
    margin-bottom: 16px;
}
.admin-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}
.admin-form input[type="text"],
.admin-form input[type="email"],
.admin-form input[type="password"],
.admin-form input[type="url"],
.admin-form input[type="file"],
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    outline: none;
    background: var(--white);
}
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    border-color: var(--green-600);
}

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

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

/* Admin Dropzone */
.admin-dropzone {
    border: 2px dashed var(--green-400);
    background: var(--green-50);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    cursor: pointer;
}
.admin-dropzone i {
    font-size: 28px;
    color: var(--green-600);
    margin-bottom: 6px;
}
.admin-dropzone p {
    font-size: 13px;
    color: var(--gray-800);
}
.admin-dropzone span {
    font-size: 11.5px;
    color: var(--gray-500);
}

.admin-media-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 10px;
}
.admin-media-preview img,
.admin-media-preview video {
    width: 100%;
    height: 75px;
    object-fit: cover;
    border-radius: 4px;
}

/* Admin Table */
.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}
.admin-table th,
.admin-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--gray-100);
    font-size: 13.5px;
}
.admin-table th {
    background: var(--green-50);
    color: var(--green-900);
    font-weight: 700;
    white-space: nowrap;
}
.admin-table tr:hover td {
    background: var(--gray-50);
}

.tbl-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 700;
}
.tbl-badge.cong-ty { background: var(--green-100); color: var(--green-800); }
.tbl-badge.dang-uy { background: #fdedec; color: #c0392b; }
.tbl-badge.cong-doan { background: #ebf5fb; color: #2980b9; }
.tbl-badge.doan-thanh-nien { background: #fef5e7; color: #d35400; }
.tbl-badge.active { background: var(--green-100); color: var(--green-800); }
.tbl-badge.locked { background: #fdedec; color: #c0392b; }

.tbl-actions {
    display: flex;
    gap: 6px;
}
.btn-tbl {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 12.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-tbl.edit { background: #ebf5fb; color: #2980b9; }
.btn-tbl.edit:hover { background: #2980b9; color: #fff; }
.btn-tbl.delete { background: #fdedec; color: #c0392b; }
.btn-tbl.delete:hover { background: #c0392b; color: #fff; }

/* Media List inside Admin */
.admin-media-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-height: 620px;
    overflow-y: auto;
}

.admin-media-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--white);
    display: flex;
    flex-direction: column;
}
.admin-media-thumb {
    position: relative;
    height: 140px;
    background: #000;
}
.admin-media-thumb img,
.admin-media-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.admin-media-body {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.admin-media-body h4 {
    font-size: 13.5px;
    color: var(--green-900);
    margin-bottom: 8px;
    line-height: 1.4;
}
.admin-media-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--gray-500);
}

/* Account Settings */
.account-settings-wrap {
    max-width: 680px;
}
.form-divider {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 22px 0;
}
.sub-heading {
    font-size: 15px;
    color: var(--green-800);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ========== RICH NEWS EDITOR & INLINE IMAGE INSERTER ========== */
.news-editor-wrapper {
    border: 1.5px solid #cde0cf;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(13, 59, 30, 0.04);
}

.news-editor-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px;
    background: #f4f9f5;
    border-bottom: 1px solid #d5e6d7;
}

.editor-btn-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.editor-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 7px;
    border: 1px solid #cde0cf;
    background: #ffffff;
    color: #1b4332;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.editor-tool-btn:hover {
    background: #e8f5e9;
    border-color: #2e7d32;
    color: #1b5e20;
}

.editor-btn-insert-img {
    background: linear-gradient(135deg, #1b5e20, #2e7d32);
    color: #ffffff !important;
    border-color: #1b5e20;
    padding: 6px 13px;
    box-shadow: 0 2px 6px rgba(27, 94, 32, 0.22);
}

.editor-btn-insert-img:hover {
    background: linear-gradient(135deg, #144718, #1b5e20);
    transform: translateY(-1px);
}

.editor-btn-insert-url {
    background: #e3f2fd;
    color: #0d47a1;
    border-color: #90caf9;
}

.editor-btn-insert-url:hover {
    background: #bbdefb;
}

.editor-btn-preview {
    background: #fff8e1;
    color: #e65100;
    border-color: #ffe082;
}

.editor-btn-preview:hover {
    background: #ffecb3;
}

.news-inline-img-drawer {
    padding: 14px 16px;
    background: #f9fcf9;
    border-bottom: 1px dashed #b7d5ba;
}

.news-rich-editor {
    min-height: 290px;
    max-height: 520px;
    overflow-y: auto;
    padding: 18px 20px;
    font-size: 15px;
    line-height: 1.8;
    color: #1f2937;
    outline: none;
}

.news-rich-editor:empty::before {
    content: attr(data-placeholder);
    color: #9ca3af;
    font-style: italic;
    pointer-events: none;
}

.news-rich-editor p {
    margin: 0 0 14px;
}

.news-rich-editor h3 {
    font-size: 19px;
    color: #0d3b1e;
    margin: 20px 0 10px;
    font-weight: 700;
}

.news-rich-editor blockquote {
    margin: 16px 0;
    padding: 14px 18px;
    background: #f1f8f2;
    border-left: 4px solid #2e7d32;
    border-radius: 6px;
    font-style: italic;
    color: #1b4332;
}

.news-rich-editor ul {
    margin: 10px 0 16px 22px;
}

.news-rich-editor figure.news-inline-figure {
    margin: 20px auto;
    background: #f8faf8;
    border: 1px solid #dceadd;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    position: relative;
    transition: all 0.2s ease;
}

.news-rich-editor figure.news-inline-figure.size-medium {
    max-width: 80%;
}

.news-rich-editor figure.news-inline-figure.size-full {
    max-width: 100%;
}

.news-rich-editor figure.news-inline-figure:hover {
    border-color: #2e7d32;
    box-shadow: 0 6px 18px rgba(27, 94, 32, 0.12);
}

.news-rich-editor figure.news-inline-figure img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.news-rich-editor figure.news-inline-figure figcaption {
    margin-top: 8px;
    font-size: 13px;
    color: #4b5563;
    font-style: italic;
    padding: 4px 8px;
    border-radius: 4px;
    outline: none;
}

.news-rich-editor figure.news-inline-figure figcaption:focus {
    background: #ffffff;
    box-shadow: 0 0 0 1px #2e7d32;
}

.inline-fig-controls {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 6px;
    z-index: 4;
}

.inline-fig-btn {
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 5px 9px;
    font-size: 11.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.inline-fig-btn:hover {
    background: #1b5e20;
}

.inline-fig-btn.del:hover {
    background: #c62828;
}

/* Modal Xem trước Bài viết trong Admin */
.admin-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 3500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.admin-preview-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 30, 16, 0.72);
    backdrop-filter: blur(4px);
}

.admin-preview-dialog {
    position: relative;
    z-index: 2;
    background: #ffffff;
    width: 100%;
    max-width: 820px;
    max-height: 88vh;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.admin-preview-header {
    padding: 16px 24px;
    background: #0d3b1e;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-preview-header h3 {
    font-size: 16px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-preview-close {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 15px;
}

.admin-preview-body {
    padding: 28px 36px;
    overflow-y: auto;
    line-height: 1.85;
}

.admin-preview-body figure.news-inline-figure {
    margin: 22px auto;
    text-align: center;
}

.admin-preview-body figure.news-inline-figure img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.admin-preview-body figure.news-inline-figure figcaption {
    margin-top: 8px;
    font-size: 13.5px;
    color: #555;
    font-style: italic;
}

/* Toast */
.admin-toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: var(--green-900);
    color: var(--white);
    padding: 12px 22px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 3000;
}
.admin-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.admin-toast i { color: var(--green-300); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .panel-grid-2,
    .panel-grid-emp { grid-template-columns: 1fr; }
    .overview-stats-grid,
    .quick-action-buttons { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .admin-sidebar {
        position: fixed;
        left: -280px;
        z-index: 1000;
        transition: var(--transition);
    }
    .admin-sidebar.open { left: 0; }
    .sidebar-toggle-btn { display: inline-flex; align-items: center; justify-content: center; }
    .overview-stats-grid,
    .quick-action-buttons,
    .admin-media-list,
    .form-row-2 { grid-template-columns: 1fr; }
}
