/* ============================================================
   NEWSWIZZ CORE — Strategic Oracle Design System
   Unique Architecture for High-Intelligence Platforms
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&family=Space+Grotesk:wght@300;500;700&display=swap');

:root {
    --nz-purple:      #4c1d95;
    --nz-teal:        #0cf2db;
    --nz-slate:       #1e293b;
    --nz-bg:          #ffffff;
    --nz-text:        #0f172a;
    --nz-muted:       #64748b;
    --nz-border:      #e2e8f0;
    --nz-grad:        linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%);
    --nz-container:   1400px;
}

/* Base Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Outfit', sans-serif; background: var(--nz-bg); color: var(--nz-text); line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: 0.3s ease; }
img { max-width: 100%; display: block; }
.nz-container { max-width: var(--nz-container); margin: 0 auto; padding: 0 40px; }

/* HEADER */
.nz-header { border-bottom: 2px solid var(--nz-purple); padding: 25px 0; background: #fff; position: sticky; top: 0; z-index: 1000; }
.nz-header-inner { display: flex; justify-content: space-between; align-items: center; }
.nz-logo-wrap { display: flex; align-items: center; gap: 12px; }
.nz-logo-icon { width: 45px; height: 45px; background: var(--nz-grad); clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); }
.nz-logo-text { font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 800; letter-spacing: -1px; text-transform: uppercase; color: var(--nz-purple); }
.nz-logo-text span { color: var(--nz-teal); }

.nz-nav { display: flex; gap: 35px; }
.nz-nav-link { font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.nz-nav-link:hover { color: var(--nz-purple); }

/* HERO (Full Width Logic) */
.nz-hero { padding: 60px 0; background: #0f172a; color: #fff; overflow: hidden; position: relative; margin-bottom: 60px; }
.nz-hero::after { content: ""; position: absolute; top: 0; right: 0; width: 60%; height: 100%; background: var(--nz-grad); clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%); z-index: 1; opacity: 0.2; }
.nz-hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: stretch; position: relative; z-index: 2; }
.nz-hero-main { display: flex; flex-direction: column; justify-content: center; }
.nz-hero-label { display: inline-block; background: var(--nz-teal); color: #000; font-weight: 900; font-size: 11px; padding: 6px 15px; margin-bottom: 25px; text-transform: uppercase; align-self: flex-start; }
.nz-hero-title { font-family: 'Space Grotesk', sans-serif; font-size: 64px; font-weight: 700; line-height: 1.1; margin-bottom: 30px; letter-spacing: -2px; }
.nz-hero-excerpt { font-size: 20px; color: #cbd5e1; margin-bottom: 30px;}
.nz-hero-img-wrap { width: 100%; height: 500px; position: relative; }
.nz-hero-img { width: 100%; height: 100%; object-fit: cover; border: 8px solid rgba(255,255,255,0.05); }

/* SECTIONS */
.nz-section { padding: 40px 0 60px; }
.nz-section-head { display: flex; align-items: center; margin-bottom: 40px; gap: 20px;}
.nz-section-title { font-family: 'Space Grotesk', sans-serif; font-size: 36px; font-weight: 700; color: var(--nz-purple); text-transform: uppercase; margin: 0; line-height: 1;}
.nz-section-line { flex: 1; height: 2px; background: var(--nz-border); }
.nz-section-line-accent { height: 4px; width: 60px; background: var(--nz-teal); display: inline-block; position: absolute; top: -1px; left: 0;}
.nz-section-line-wrap { position: relative; flex: 1; height: 2px; background: var(--nz-border); }

/* Grids */
.nz-grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 30px; }
.nz-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.nz-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.nz-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }

/* Cards */
.nz-card { display: flex; flex-direction: column; height: 100%; }
.nz-card-img-wrap { position: relative; overflow: hidden; margin-bottom: 20px; aspect-ratio: 16/10; }
.nz-card-img { width: 100%; height: 100%; object-fit: contain; transition: 0.6s ease; }
.nz-card:hover .nz-card-img { transform: scale(1.08); filter: brightness(0.8); }
.nz-card-cat { position: absolute; bottom: 0; left: 0; background: var(--nz-purple); color: #fff; font-size: 11px; font-weight: 800; padding: 6px 15px; text-transform: uppercase; }
.nz-card-title { font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.nz-card-title a:hover { color: var(--nz-purple); }
.nz-card-meta { font-size: 13px; color: var(--nz-muted); font-weight: 600; margin-top: auto; }

/* Small Cards (Lists) */
.nz-card-sm { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: start; margin-bottom: 30px; }
.nz-card-sm .nz-card-img-wrap { margin-bottom: 0; height: 100px; }
.nz-card-sm-title { font-size: 16px; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }

/* AD BANNER */
.nz-ad-strip { background: var(--nz-slate); height: 200px; border-radius: 8px; margin: 40px 0 80px; position: relative; overflow: hidden; }
.nz-ad-img { width: 100%; height: 100%; object-fit: cover; }
.nz-ad-strip::before { content: "ADVERTISEMENT"; position: absolute; top: 10px; right: 20px; font-size: 9px; color: #fff; opacity: 0.7; font-weight: 900; background: rgba(0,0,0,0.5); padding: 4px 8px; border-radius: 4px; z-index: 10; }

/* FOOTER */
.nz-footer { background: #0f172a; color: #fff; padding: 80px 0 40px; border-top: 4px solid var(--nz-purple); margin-top: 60px; }
.nz-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.nz-footer-heading { font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--nz-teal); margin-bottom: 25px; }
.nz-footer-links { list-style: none; }
.nz-footer-links li { margin-bottom: 12px; }
.nz-footer-links a { color: #94a3b8; font-weight: 500; font-size: 15px; }
.nz-footer-links a:hover { color: #fff; padding-left: 5px; }
.nz-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; color: #94a3b8; font-size: 14px; }

/* RESPONSIVE */
.nz-hamburger { display: none; cursor: pointer; color: var(--nz-purple); }
@media (max-width: 1200px) {
    .nz-grid-6 { grid-template-columns: repeat(3, 1fr); }
    .nz-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .nz-hero-grid { grid-template-columns: 1fr; }
    .nz-hero-title { font-size: 42px; }
    .nz-grid-3, .nz-grid-2 { grid-template-columns: 1fr; }
    .nz-footer-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
    .nz-hamburger { display: block; }
    .nz-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); padding: 20px; flex-direction: column; gap: 15px; border-bottom: 2px solid var(--nz-purple); }
    #nz-nav-toggle:checked ~ .nz-nav { display: flex; }
    .nz-container { padding: 0 20px; }
    .nz-grid-4, .nz-grid-6 { grid-template-columns: 1fr; }
    .nz-logo-text { font-size: 24px; }
    .nz-section-title { font-size: 28px; }
    .nz-split { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .nz-hero-main, .nz-hero-img-wrap { height: 350px; }
    .nz-card-sm { grid-template-columns: 100px 1fr; gap: 10px; }
    .nz-card-sm .nz-card-img-wrap { height: 75px; }
    .nz-ad-strip h3 { font-size: 24px !important; }
}

/* Page Styles (Legal) */
.nz-page-wrap { padding: 80px 0; max-width: 800px; margin: 0 auto; }
.nz-page-title { font-family: 'Space Grotesk', sans-serif; font-size: 48px; font-weight: 700; color: var(--nz-purple); margin-bottom: 40px; }
.nz-page-content { font-size: 18px; line-height: 1.8; color: var(--nz-text); }
.nz-page-content p { margin-bottom: 20px; }
.nz-page-content h2, .nz-page-content h3 { font-family: 'Space Grotesk', sans-serif; color: var(--nz-purple); margin-top: 40px; margin-bottom: 20px; }

/* ============================================================
   ADMIN PANEL
   ============================================================ */

.ne-admin-body {
    background:
        radial-gradient(circle at top right, rgba(12, 242, 219, 0.12), transparent 28%),
        linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
    min-height: 100vh;
}

.ne-admin-login-page {
    background:
        radial-gradient(circle at top, rgba(12, 242, 219, 0.12), transparent 30%),
        linear-gradient(135deg, #0f172a 0%, #312e81 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.ne-admin-login-wrap {
    width: 100%;
    max-width: 430px;
}

.ne-admin-login-card {
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(12, 242, 219, 0.16);
    border-top: 4px solid var(--nz-teal);
    border-radius: 20px;
    padding: 36px 34px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(16px);
}

.ne-admin-login-header {
    text-align: center;
    margin-bottom: 28px;
}

.ne-admin-logo,
.ne-admin-sidebar-logo a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.ne-logo-n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--nz-purple) 0%, #7c3aed 100%);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(76, 29, 149, 0.28);
}

.ne-logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #fff;
}

.ne-admin-login-sub {
    margin-top: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.62);
}

.ne-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ne-form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ne-form-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #475569;
}

.ne-admin-login-form .ne-form-label {
    color: rgba(255,255,255,0.72);
}

.ne-input,
.ne-select,
.ne-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
    color: var(--nz-text);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    line-height: 1.6;
}

.ne-admin-login-form .ne-input {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.14);
    color: #fff;
}

.ne-input::placeholder,
.ne-textarea::placeholder {
    color: #94a3b8;
}

.ne-admin-login-form .ne-input::placeholder {
    color: rgba(255,255,255,0.38);
}

.ne-input:focus,
.ne-select:focus,
.ne-textarea:focus {
    border-color: var(--nz-purple);
    box-shadow: 0 0 0 4px rgba(76, 29, 149, 0.12);
}

.ne-admin-login-form .ne-input:focus {
    border-color: var(--nz-teal);
    box-shadow: 0 0 0 4px rgba(12, 242, 219, 0.14);
}

.ne-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.ne-input-wrap .ne-input {
    padding-right: 44px;
}

.ne-input-toggle-pw {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.62);
    cursor: pointer;
}

.ne-input-toggle-pw:hover {
    color: var(--nz-teal);
}

.ne-input--lg {
    font-size: 18px;
    font-weight: 700;
    padding: 14px 16px;
}

.ne-textarea {
    resize: vertical;
}

.ne-textarea--sm {
    min-height: 96px;
}

.ne-textarea--content {
    min-height: 420px;
    font-family: Consolas, 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.75;
}

.ne-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234c1d95' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 38px;
    cursor: pointer;
}

.ne-required {
    color: var(--nz-purple);
}

.ne-form-hint {
    font-size: 12px;
    color: #64748b;
}

.ne-form-label--inline {
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: none;
    letter-spacing: 0;
}

.ne-form-label--inline input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--nz-purple);
}

.ne-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.ne-btn--red {
    background: linear-gradient(135deg, var(--nz-purple) 0%, #7c3aed 100%);
    color: #fff;
    box-shadow: 0 16px 32px rgba(76, 29, 149, 0.18);
}

.ne-btn--red:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.ne-btn--outline {
    background: #fff;
    color: var(--nz-purple);
    border-color: rgba(76, 29, 149, 0.18);
}

.ne-btn--outline:hover {
    background: #f5f3ff;
    border-color: var(--nz-purple);
}

.ne-btn--danger {
    background: #fff1f2;
    color: #be123c;
    border-color: #fecdd3;
}

.ne-btn--danger:hover {
    background: #be123c;
    color: #fff;
    border-color: #be123c;
}

.ne-btn--block {
    width: 100%;
}

.ne-btn--lg {
    min-height: 48px;
}

.ne-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid;
    font-size: 14px;
    line-height: 1.55;
}

.ne-alert--success {
    background: #ecfeff;
    color: #0f766e;
    border-color: #99f6e4;
}

.ne-alert--error {
    background: #fff1f2;
    color: #be123c;
    border-color: #fecdd3;
}

.ne-alert--info {
    background: #eef2ff;
    color: #4338ca;
    border-color: #c7d2fe;
}

.ne-alert--dismissible {
    cursor: pointer;
}

.ne-admin-login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: rgba(255,255,255,0.62);
}

.ne-admin-login-footer a {
    color: var(--nz-teal);
    font-weight: 700;
}

.ne-admin-layout {
    display: flex;
    min-height: 100vh;
}

.ne-admin-sidebar {
    width: 252px;
    flex-shrink: 0;
    background: linear-gradient(180deg, #1e1b4b 0%, #0f172a 100%);
    color: #fff;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.ne-admin-sidebar-logo {
    padding: 22px 18px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ne-admin-sidebar-badge {
    display: inline-flex;
    margin-top: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(12, 242, 219, 0.14);
    color: var(--nz-teal);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ne-admin-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 10px;
    min-height: calc(100vh - 104px);
}

.ne-admin-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 12px;
    color: rgba(255,255,255,0.72);
    font-size: 13px;
    font-weight: 700;
}

.ne-admin-nav-link:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.ne-admin-nav-link--active {
    background: linear-gradient(135deg, rgba(12, 242, 219, 0.18), rgba(124, 58, 237, 0.26));
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(12, 242, 219, 0.16);
}

.ne-admin-nav-link--logout {
    margin-top: auto;
    color: rgba(255,255,255,0.58);
}

.ne-admin-nav-link--logout:hover {
    color: #fecdd3;
    background: rgba(190, 24, 93, 0.12);
}

.ne-admin-main {
    flex: 1;
    min-width: 0;
    padding: 28px 30px;
}

.ne-admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.ne-admin-page-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--nz-slate);
}

.ne-admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ne-admin-user {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(76, 29, 149, 0.06);
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

.ne-admin-main > .ne-alert {
    margin-bottom: 20px;
}

.ne-admin-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.ne-admin-stat-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--nz-purple);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.ne-admin-stat-card--green {
    border-left-color: var(--nz-teal);
}

.ne-admin-stat-card--yellow {
    border-left-color: #7c3aed;
}

.ne-admin-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    color: var(--nz-slate);
}

.ne-admin-stat-label {
    margin-top: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #64748b;
}

.ne-admin-table-wrap,
.ne-admin-form-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.ne-admin-table-wrap {
    overflow: hidden;
}

.ne-admin-table {
    width: 100%;
    border-collapse: collapse;
}

.ne-admin-table th {
    text-align: left;
    background: #f8fafc;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.ne-admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
    color: #334155;
    vertical-align: middle;
}

.ne-admin-table tbody tr:last-child td {
    border-bottom: none;
}

.ne-admin-table tbody tr:hover td {
    background: #f8fafc;
}

.ne-admin-td-id {
    width: 48px;
    color: #94a3b8;
    font-family: Consolas, monospace;
}

.ne-admin-td-title {
    min-width: 260px;
    max-width: 360px;
}

.ne-admin-post-link {
    font-weight: 700;
    color: var(--nz-slate);
}

.ne-admin-post-link:hover {
    color: var(--nz-purple);
}

.ne-admin-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ne-admin-badge--featured {
    background: rgba(12, 242, 219, 0.14);
    color: #0f766e;
}

.ne-admin-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ne-admin-status--published {
    background: rgba(12, 242, 219, 0.14);
    color: #0f766e;
}

.ne-admin-status--draft {
    background: rgba(76, 29, 149, 0.08);
    color: var(--nz-purple);
}

.ne-admin-td-date {
    color: #64748b;
    font-size: 12px;
    white-space: nowrap;
}

.ne-admin-td-actions {
    white-space: nowrap;
}

.ne-admin-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-right: 6px;
}

.ne-admin-action-btn--edit {
    background: #ede9fe;
    color: var(--nz-purple);
}

.ne-admin-action-btn--edit:hover {
    background: var(--nz-purple);
    color: #fff;
}

.ne-admin-action-btn--delete {
    background: #fff1f2;
    color: #be123c;
}

.ne-admin-action-btn--delete:hover {
    background: #be123c;
    color: #fff;
}

.ne-admin-pagination {
    display: flex;
    gap: 8px;
    padding: 14px 16px;
    border-top: 1px solid #e2e8f0;
}

.ne-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #d8def0;
    border-radius: 10px;
    background: #fff;
    color: var(--nz-purple);
    font-size: 12px;
    font-weight: 800;
}

.ne-page-btn:hover,
.ne-page-btn--active {
    background: var(--nz-purple);
    border-color: var(--nz-purple);
    color: #fff;
}

.ne-admin-empty {
    padding: 48px 20px;
    text-align: center;
    color: #64748b;
}

.ne-admin-empty a {
    color: var(--nz-purple);
    font-weight: 700;
}

.ne-admin-form {
    display: block;
}

.ne-admin-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    align-items: start;
}

.ne-admin-form-main,
.ne-admin-form-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ne-admin-form-card {
    padding: 22px;
}

.ne-admin-card-title {
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #64748b;
}

.ne-admin-form-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.ne-slug-gen-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    padding: 3px 10px;
    border: 1px solid #ddd6fe;
    border-radius: 999px;
    background: #f5f3ff;
    color: var(--nz-purple);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}

.ne-slug-gen-btn:hover {
    background: #ede9fe;
}

.ne-img-preview-wrap {
    margin-top: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.ne-img-preview {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .ne-admin-layout {
        flex-direction: column;
    }

    .ne-admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .ne-admin-nav {
        flex-direction: row;
        flex-wrap: wrap;
        min-height: 0;
    }

    .ne-admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ne-admin-form-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ne-admin-main {
        padding: 20px 16px;
    }

    .ne-admin-table-wrap {
        overflow-x: auto;
    }

    .ne-admin-table th:nth-child(4),
    .ne-admin-table td:nth-child(4),
    .ne-admin-table th:nth-child(6),
    .ne-admin-table td:nth-child(6) {
        display: none;
    }
}

@media (max-width: 560px) {
    .ne-admin-login-card {
        padding: 24px 18px;
    }

    .ne-admin-topbar-right {
        width: 100%;
        justify-content: flex-start;
    }

    .ne-admin-stats {
        grid-template-columns: 1fr;
    }

    .ne-admin-table th:nth-child(3),
    .ne-admin-table td:nth-child(3) {
        display: none;
    }
}
