/* ==========================================================================
   ORGANIS & EKO MART - PREMIUM ADMIN THEME
   ORGANIS & EKO MART - PREMIUM ADMIN & AUTH THEME
   ========================================================================== */

:root {
    --admin-primary: #08823d;
    --admin-primary-hover: #066e33;
    --admin-primary-light: #e8f5e9;
    --admin-accent: #0ba347;
    --admin-dark: #0f172a;
    --admin-sidebar-bg: #111827;
    --admin-sidebar-hover: rgba(255, 255, 255, 0.07);
    --admin-sidebar-hover: rgba(255, 255, 255, 0.08);
    --admin-sidebar-active: #08823d;
    --admin-border: #e2e8f0;
    --admin-card-bg: #ffffff;
    --admin-body-bg: #f8fafc;
    --admin-text: #1e293b;
    --admin-muted: #64748b;
    --admin-font: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;
    --admin-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: #f5f7fb;
    color: #243447;
    font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--admin-body-bg);
    color: var(--admin-text);
    font-family: var(--admin-font);
    -webkit-font-smoothing: antialiased;
}

.admin-shell {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* --------------------------------------------------------------------------
   SIDEBAR
   -------------------------------------------------------------------------- */
.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1040;
    width: 236px;
    width: 250px;
    width: 260px;
    overflow-y: auto;
    color: #dbe7ff;
    background: #172033;
    background: var(--admin-sidebar-bg);
    color: #cbd5e1;
    background: var(--admin-sidebar-bg);
    border-right: 1px solid #1f2937;
    scrollbar-width: thin;
    scrollbar-color: #374151 transparent;
    display: flex;
    flex-direction: column;
}

.admin-sidebar::-webkit-scrollbar {
    width: 5px;
}

.admin-sidebar::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 4px;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 8px;
    min-height: 58px;
    padding: 16px 20px;
    padding: 18px 20px;
    min-height: 70px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.admin-brand-icon {
    width: 42px;
    height: 42px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #2fb06f;
    border-radius: 11px;
    color: #ffffff;
    background: var(--admin-primary);
    border-radius: 10px;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(8, 130, 61, 0.35);
}

.admin-brand strong,
.admin-brand small {
.admin-brand strong {
    display: block;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: #ffffff;
    line-height: 1.2;
}

.admin-brand small {
    color: #98a8c3;
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.sidebar-label {
    margin: 22px 0 8px;
    color: #89a3cc;
    font-size: 12px;
    margin: 20px 20px 8px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: calc(100% - 6px);
    min-height: 49px;
    margin: 3px 6px 3px 0;
    padding: 11px 12px;
    color: #dbe7ff;
    width: calc(100% - 24px);
    min-height: 44px;
    margin: 3px 12px;
    padding: 10px 14px;
    color: #94a3b8;
    border: 0;
    border-radius: 9px;
    border-radius: 8px;
    background: transparent;
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    text-align: left;
    transition: all 0.2s;
    cursor: pointer;
}

.sidebar-link:hover,
.sidebar-link:hover {
    color: #ffffff;
    background: var(--admin-sidebar-hover);
}

.sidebar-link.active {
    color: #fff;
    background: rgba(47, 176, 111, 0.18);
    color: #ffffff;
    background: var(--admin-primary);
    box-shadow: 0 4px 12px rgba(8, 130, 61, 0.3);
}

.sidebar-link i {
    width: 22px;
    color: #69d69d;
    font-size: 18px;
    width: 20px;
    font-size: 17px;
    color: #94a3b8;
    transition: color 0.2s;
}

.sidebar-link:hover i,
.sidebar-link.active i {
    color: #ffffff;
}

.sidebar-toggle {
    cursor: pointer;
}

.sidebar-toggle-icon {
    margin-left: auto;
    color: #7f90ad !important;
    font-size: 14px !important;
    color: #64748b !important;
    font-size: 12px !important;
    transition: transform 0.2s ease;
}

.sidebar-dropdown.open .sidebar-toggle,
.sidebar-dropdown.has-active .sidebar-toggle {
    color: #fff;
    background: rgba(47, 176, 111, 0.18);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.sidebar-dropdown.open .sidebar-toggle-icon,
.sidebar-dropdown.has-active .sidebar-toggle-icon {
    transform: rotate(180deg);
}

.sidebar-submenu {
    display: none;
    margin: 4px 0 8px;
    padding-left: 18px;
    margin: 2px 0 6px;
    padding-left: 12px;
}

.sidebar-dropdown.open .sidebar-submenu,
.sidebar-dropdown.has-active .sidebar-submenu {
    display: block;
    display: block !important;
}

.sidebar-sublink {
    padding: 9px 14px;
    font-size: 14px;
    width: calc(100% - 24px);
    min-height: 38px;
    margin: 2px 12px;
    padding: 8px 14px;
    font-size: 13px;
    color: #94a3b8;
    padding: 8px 14px;
}

.sidebar-sublink i {
    font-size: 10px;
.sidebar-sublink.active {
    color: var(--admin-primary);
    background: rgba(8, 130, 61, 0.12);
    background: rgba(8, 130, 61, 0.14);
    box-shadow: none;
    font-weight: 700;
}

.site-settings-submenu {
    position: relative;
    margin: 4px 0 10px 21px;
    padding-left: 14px;
.sidebar-sublink.active i {
    color: var(--admin-primary);
}

.site-settings-submenu::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 1px;
    background: #315f93;
    content: "";
.site-settings-submenu {
    position: relative;
    margin: 4px 0 10px 20px;
    padding-left: 12px;
    border-left: 1px solid #1f2937;
}

.site-settings-submenu .sidebar-sublink {
    width: 100%;
    min-height: 35px;
    min-height: 34px;
    margin: 0;
    padding: 7px 12px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-size: 13px;
}

.site-settings-submenu .sidebar-sublink.active {
    background: rgba(47, 176, 111, 0.18);
    background: rgba(8, 130, 61, 0.2);
    color: #4ade80;
}

/* --------------------------------------------------------------------------
   MAIN LAYOUT & HEADER
   -------------------------------------------------------------------------- */
.admin-main {
    width: calc(100% - 236px);
    margin-left: 236px;
    flex: 1;
    margin-left: 250px;
    margin-left: 260px;
    width: calc(100% - 260px);
    min-width: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.admin-header {
    background: #ffffff;
    border-bottom: 1px solid var(--admin-border);
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    border-bottom: 1px solid #e5eaf1;
    z-index: 1020;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.admin-search {
    max-width: 460px;
    max-width: 440px;
}

.admin-avatar {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #2fb06f;
    border-radius: 50%;
    font-weight: 800;
    object-fit: cover;
.admin-search .input-group-text {
    border-color: #e2e8f0;
    color: #94a3b8;
    background: #f8fafc;
    border-right: none;
}

.admin-search .form-control {
    border-color: #e2e8f0;
    background: #f8fafc;
    border: 1px solid #d1d5db;
    border-left: none;
    font-size: 13.5px;
}

.admin-search .form-control:focus {
    background: #ffffff;
    border-color: var(--admin-primary);
    box-shadow: 0 0 0 3px rgba(8, 130, 61, 0.1);
.admin-search .input-group-text {
    border-color: #d1d5db;
    color: #9ca3af;
}

.admin-profile-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 4px 8px 4px 14px;
    padding: 4px 8px;
    background: transparent;
    border: 1px solid transparent;
    padding: 4px 12px;
    border-radius: 999px;
    background: #fff;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    background: transparent;
    border: none;
    padding: 4px 8px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    transition: background 0.2s, border-color 0.2s;
    transition: all 0.2s;
}

.admin-profile-trigger:hover,
.admin-profile-trigger.show {
    border-color: #e5eaf1;
    background: #f8fafc;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
.admin-profile-trigger:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.admin-profile-trigger .admin-avatar {
.admin-avatar {
    width: 38px;
    height: 38px;
    width: 34px;
    height: 34px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--admin-primary);
    color: #ffffff;
    font-weight: 700;
    background: #e2e8f0;
    color: var(--admin-primary);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 14px;
    object-fit: cover;
    font-size: 14px;
}

.admin-profile-chevron {
    color: #8a98ad;
    color: #64748b;
    font-size: 12px;
    color: #94a3b8;
}

.admin-profile-card {
    min-width: 260px;
    padding: 10px;
    border: 1px solid #e5eaf1;
    border-radius: 8px;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.12);
    min-width: 240px;
    padding: 12px;
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    border: 1px solid var(--admin-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.admin-profile-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    padding: 6px 8px 12px;
}

.admin-profile-card-head strong,
.admin-profile-card-head small {
.admin-profile-card-head strong {
    display: block;
    font-size: 14px;
    color: var(--admin-text);
    color: #0f172a;
}

.admin-profile-card-head small {
    color: #718096;
    display: block;
    color: var(--admin-muted);
    color: #64748b;
    font-size: 12px;
}

.admin-profile-card .dropdown-item {
    display: flex;
    align-items: center;
    border-radius: 6px;
    padding: 9px 10px;
    padding: 8px 12px;
    font-size: 13.5px;
    font-weight: 500;
    transition: background 0.2s;
.content-wrap {
    padding: 28px 32px;
    flex: 1;
}

/* --------------------------------------------------------------------------
   CONTENT & DASHBOARD
   DASHBOARD CARDS & WIDGETS
   -------------------------------------------------------------------------- */
.content-wrap {
    padding: 28px;
    flex: 1;
}

.profile-photo-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px;
    border: 1px solid #e5eaf1;
    border-radius: 8px;
    background: #f8fafc;
.page-title {
    margin-bottom: 24px;
}

.profile-photo-preview,
.profile-photo-fallback {
    width: 82px;
    height: 82px;
    flex: 0 0 auto;
    border-radius: 50%;
.page-title h1 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.5px;
}

.profile-photo-preview {
    object-fit: cover;
.page-title p {
    color: var(--admin-muted);
    font-size: 13.5px;
    margin: 4px 0 0;
}

.profile-photo-fallback {
    display: grid;
    place-items: center;
    color: #fff;
    background: #2fb06f;
    font-size: 30px;
/* Welcome Banner */
.dash-welcome-banner {
    background: linear-gradient(135deg, #075428 0%, #0ba347 100%);
    background: linear-gradient(135deg, #08823d 0%, #065e28 100%);
    border-radius: 16px;
    padding: 28px 32px;
    color: #ffffff;
    margin-bottom: 28px;
    box-shadow: 0 10px 30px rgba(8, 130, 61, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(8, 130, 61, 0.15);
}

.dash-welcome-text h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 6px;
}

.note-editor.note-frame {
    border-color: #d8e0ea;
    border-radius: 8px;
.dash-welcome-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.note-editor .note-toolbar {
    background: #f8fafc;
    border-bottom-color: #d8e0ea;
    border-radius: 8px 8px 0 0;
.dash-live-badge {
    display: inline-flex;
.dash-stat-card {
    background: #ffffff;
    border: 1px solid var(--admin-border);
    border-radius: 14px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s;
}

.note-editor .note-editing-area .note-editable {
    color: #172033;
    font-family: inherit;
.dash-pulse-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.4);
    animation: pulse 2s infinite;
.dash-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.brand-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
.dash-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 24px;
}

.brand-action {
    display: inline-flex;
.dash-welcome-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 78px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: #fff;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
    gap: 12px;
.dash-stat-icon.green {
    background: #e8f5e9;
    color: #08823d;
}

.brand-action-edit {
    color: #0d6efd;
    border-color: rgba(13, 110, 253, 0.28);
    background: rgba(13, 110, 253, 0.06);
.dash-welcome-actions .btn-light {
    background: #ffffff;
    color: var(--admin-primary);
    font-weight: 700;
    border-radius: 8px;
    padding: 10px 20px;
    border: none;
    transition: transform 0.2s, background 0.2s;
.dash-stat-icon.blue {
    background: #e0f2fe;
    color: #0284c7;
}

.brand-action-warning {
    color: #9a6700;
    border-color: rgba(255, 193, 7, 0.42);
    background: rgba(255, 193, 7, 0.1);
.dash-welcome-actions .btn-light:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
.dash-stat-icon.orange {
    background: #fff7ed;
    color: #ea580c;
}

.brand-action-success {
    color: #198754;
    border-color: rgba(25, 135, 84, 0.3);
    background: rgba(25, 135, 84, 0.08);
.dash-welcome-actions .btn-outline-light {
    border-radius: 8px;
    font-weight: 600;
    padding: 9px 18px;
.dash-stat-icon.purple {
    background: #f3e8ff;
    color: #9333ea;
}

.brand-action-danger {
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.28);
    background: rgba(220, 53, 69, 0.06);
/* Stat Cards */
.stat-card {
    background: #ffffff;
    border: 1px solid var(--admin-border);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
.dash-stat-val {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin: 4px 0 0;
}

.brand-action:hover {
    filter: brightness(0.97);
.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
.dash-stat-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin: 0;
}

.brand-action:disabled {
    cursor: not-allowed;
    opacity: 0.58;
    filter: grayscale(0.2);
.stat-card-header {
/* Quick Action Grid */
.quick-action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quick-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.admin-role-select {
    max-width: 150px;
.stat-card-title {
    justify-content: center;
    padding: 18px 12px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--admin-muted);
    margin: 0;
    gap: 8px;
    transition: all 0.2s;
    text-align: center;
}

.assigned-role-select {
    max-width: 160px;
.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 20px;
.quick-action-item i {
    font-size: 22px;
    color: #08823d;
}

.permission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
.stat-card-value {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
    letter-spacing: -0.5px;
.quick-action-item:hover {
    background: #ffffff;
    border-color: #08823d;
    color: #08823d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 130, 61, 0.12);
}

.permission-option {
.stat-card-footer {
/* --------------------------------------------------------------------------
   TABLES & BADGES
   -------------------------------------------------------------------------- */
.brand-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid #d8e0ea;
    border-radius: 6px;
    background: #f8fafc;
    font-size: 12.5px;
    color: var(--admin-muted);
}

.permission-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.permission-badges span {
.stat-badge-trend {
.brand-action {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    color: #198754;
    background: rgba(25, 135, 84, 0.08);
    border: 1px solid rgba(25, 135, 84, 0.16);
    border-radius: 999px;
    gap: 4px;
    padding: 5px 10px;
    font-size: 12px;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    background: #f1f5f9;
    color: #334155;
    transition: all 0.15s;
}

.content-wrap {
    padding: 28px;
.stat-trend-up {
    background: #dcfce7;
    color: #15803d;
.brand-action-edit {
    color: #0284c7;
    background: #e0f2fe;
}

.page-title {
    margin-bottom: 22px;
.stat-trend-down {
    background: #fee2e2;
    color: #b91c1c;
.brand-action-edit:hover {
    background: #0284c7;
    color: #ffffff;
}

.page-title h1 {
    margin: 0;
    color: #172033;
    font-size: 28px;
    font-weight: 800;
/* Card Styling */
/* Card & Table Styling */
.table-card {
    background: #ffffff;
    border: 1px solid var(--admin-border);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    overflow: hidden;
.brand-action-warning {
    color: #d97706;
    background: #fef3c7;
}

.page-title p {
    margin: 6px 0 0;
    color: #718096;
.table-card .card-header {
    padding: 18px 24px;
    background: #ffffff;
    border-bottom: 1px solid var(--admin-border);
.brand-action-warning:hover {
    background: #d97706;
    color: #ffffff;
}

.stat-card {
    border: 0;
    border-radius: 10px;
    box-shadow: 0 16px 38px rgba(23, 32, 51, 0.08);
.table-card .card-header h5 {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
.brand-action-success {
    color: #08823d;
    background: #e8f5e9;
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: 22px;
.table-card .card-body {
    padding: 24px;
.brand-action-success:hover {
    background: #08823d;
    color: #ffffff;
}

.table-card,
.form-card {
    border: 0;
    border-radius: 10px;
    box-shadow: 0 16px 38px rgba(23, 32, 51, 0.08);
    background: #ffffff;
    border: 1px solid var(--admin-border);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    overflow: hidden;
.brand-action-danger {
    color: #dc2626;
    background: #fee2e2;
}

.form-card .card-header {
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid var(--admin-border);
.brand-action-danger:hover {
    background: #dc2626;
    color: #ffffff;
}

.form-card .card-body {
    padding: 20px;
}

/* Status Badges */
.badge-soft-success {
    background: #dcfce7;
    color: #15803d;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
}

.tracking-card {
    min-height: 124px;
    border: 1px solid #dbe4ef;
    border-radius: 12px;
    box-shadow: none;
.badge-soft-warning {
    background: #fef3c7;
    color: #b45309;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
}

.tracking-event-icon {
    width: 48px;
    height: 48px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 11px;
    font-size: 20px;
.badge-soft-info {
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
}

.tracking-orange {
    color: #fff;
    background: linear-gradient(135deg, #ffc75f, #ff947f);
.badge-soft-danger {
    background: #fee2e2;
    color: #b91c1c;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
}

.tracking-green {
    color: #72b922;
    background: #eff7e5;
/* Top Products List */
/* Action Buttons */
.brand-actions {
/* --------------------------------------------------------------------------
   AUTH PAGES (LOGIN & REGISTER)
   -------------------------------------------------------------------------- */
.auth-page {
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.brand-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 78px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: #ffffff;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: filter 0.2s ease;
    padding: 30px 16px;
    background: linear-gradient(135deg, #f0fdf4 0%, #e8f5e9 50%, #f8fafc 100%);
    position: relative;
}

.brand-action-edit {
    color: #0d6efd;
    border-color: rgba(13, 110, 253, 0.28);
    background: rgba(13, 110, 253, 0.06);
.auth-page::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(8, 130, 61, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.brand-action-warning {
    color: #9a6700;
    border-color: rgba(255, 193, 7, 0.42);
    background: rgba(255, 193, 7, 0.1);
}

.brand-action-success {
    color: #198754;
    border-color: rgba(25, 135, 84, 0.3);
    border-color: rgba(255, 193, 7, 0.3);
    background: rgba(25, 135, 84, 0.08);
}

.brand-action-danger {
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.28);
    background: rgba(220, 53, 69, 0.06);
}

.brand-action:hover {
    filter: brightness(0.95);
}

/* Tag Input */
.tag-input {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid #ced4da;
    border-radius: 8px;
.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 40px 36px;
    background: #ffffff;
    min-height: 42px;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(8, 130, 61, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(8, 130, 61, 0.12);
    position: relative;
    z-index: 2;
}

.tag-input input {
    border: none;
    outline: none;
    flex: 1;
    min-width: 120px;
    font-size: 13.5px;
}

.product-tag {
.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e2e8f0;
    color: #1e293b;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.product-tag button {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    color: #64748b;
    padding: 0;
    line-height: 1;
}

.product-upload-preview {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-right: 6px;
}

/* Dashboard Product List */
.dash-product-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    gap: 12px;
    margin-bottom: 24px;
    text-decoration: none;
}

.tracking-mint {
    color: #15945a;
    background: #e3f6ed;
.dash-product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
    padding: 10px 12px;
.auth-brand .admin-brand-icon {
    width: 42px;
    height: 42px;
    font-size: 20px;
    background: var(--admin-primary);
    color: #ffffff;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: background 0.2s;
}

.tracking-config-card {
    max-width: 760px;
.dash-product-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
.dash-product-item:hover {
    background: #f1f5f9;
.auth-brand strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--admin-primary);
    line-height: 1.1;
}

.table > :not(caption) > * > * {
    padding: 15px 18px;
.dash-product-info {
    display: flex;
    align-items: center;
    gap: 12px;
.auth-brand small {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-soft-success {
    color: #198754;
    background: #e7f6ee;
.dash-product-thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    object-fit: cover;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
.auth-card h1 {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
    letter-spacing: -0.5px;
}

.badge-soft-warning {
    color: #b7791f;
    background: #fff4dc;
.dash-product-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 2px;
    margin: 0;
}

.badge-soft-danger {
    color: #c53030;
    background: #ffe5e5;
.dash-product-meta {
    font-size: 12px;
    color: var(--admin-muted);
    font-size: 11.5px;
.auth-card p.text-muted {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}

.badge-soft-info {
    color: #1f6feb;
    background: #e7f0ff;
.dash-product-price {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    font-size: 13.5px;
.auth-card .form-label {
    font-size: 13px;
    font-weight: 700;
    color: #08823d;
    text-align: right;
    color: #334155;
    margin-bottom: 6px;
}

.product-thumb {
    width: 46px;
.auth-card .form-control {
    height: 46px;
    object-fit: cover;
    border-radius: 8px;
.dash-product-sold {
    font-size: 11.5px;
    color: #10b981;
    font-weight: 600;
    font-size: 11px;
    color: #64748b;
    display: block;
    text-align: right;
    border: 1px solid #d1d5db;
    padding: 0 14px;
    font-size: 14px;
    background: #fdfdfd;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.product-upload-preview {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border: 1px solid #d8e0ea;
    border-radius: 8px;
    background: #f8fafc;
.auth-card .form-control:focus {
    border-color: var(--admin-primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(8, 130, 61, 0.15);
}

.product-create-page .card-header { padding: 14px 16px; }
.product-create-page .form-card { overflow: hidden; }
.product-image-field { display: block; min-height: 132px; padding: 16px; border: 1px solid #d8e0ea; border-radius: 8px; background: #f8fafc; }
.product-image-field > span:first-child { display: block; margin-bottom: 10px; color: #172033; }
.product-image-field .product-image-preview:empty { display: none; }
.product-image-field .product-image-preview img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.delivery-box { padding: 16px; border: 1px solid #d8e0ea; border-radius: 8px; background: #f8fafc; }

.tag-input { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 40px; padding: 5px 10px; border: 1px solid #d8e0ea; border-radius: 6px; background: #fff; cursor: text; transition: border-color .15s ease, box-shadow .15s ease; }
.tag-input:focus-within { border-color: #86b7fe; box-shadow: 0 0 0 .25rem rgba(13,110,253,.15); }
.tag-list { display: contents; }
.tag-input input { flex: 1 1 150px; min-width: 120px; height: 28px; padding: 0; border: 0; outline: 0; background: transparent; }
.product-tag { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 3px 8px; color: #147a4b; background: #e7f6ee; border: 1px solid #bde8d0; border-radius: 5px; font-size: 13px; }
.product-tag button { display: grid; place-items: center; width: 16px; height: 16px; padding: 0; color: inherit; border: 0; background: transparent; font-size: 16px; line-height: 1; }

.auth-page {
    min-height: 100vh;
/* Quick Action Cards */
/* Quick Action Grid */
.quick-action-grid {
    display: grid;
    place-items: center;
    padding: 28px 16px;
    background: linear-gradient(135deg, #f5f7fb 0%, #eaf7f0 100%);
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.auth-card {
    width: min(100%, 440px);
    padding: 34px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 22px 60px rgba(23, 32, 51, 0.12);
}

.auth-brand {
    display: inline-flex;
.quick-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: #172033;
    justify-content: center;
    padding: 16px 12px;
    padding: 18px 12px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: #334155;
    color: #1e293b;
    font-weight: 600;
    font-size: 13px;
    gap: 8px;
    transition: all 0.2s;
    text-align: center;
}

.auth-brand strong,
.auth-brand small {
    display: block;
.quick-action-item:hover {
    background: #ffffff;
.auth-card .btn-success {
    height: 46px;
    background: var(--admin-primary);
    border-color: var(--admin-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 130, 61, 0.1);
    color: var(--admin-primary);
}

.auth-brand strong {
    font-size: 24px;
    line-height: 1;
.quick-action-item i {
    font-size: 22px;
    color: var(--admin-primary);
    margin-bottom: 6px;
    color: #08823d;
}

.auth-brand small {
    color: #718096;
.quick-action-item span {
    font-size: 12.5px;
    font-size: 14.5px;
    font-weight: 700;
.quick-action-item:hover {
    background: #ffffff;
    border-color: #08823d;
    color: #08823d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 130, 61, 0.12);
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(8, 130, 61, 0.3);
    transition: background-color 0.2s, transform 0.15s;
}

.auth-card h1 {
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 800;
.auth-card .btn-success:hover {
    background: var(--admin-primary-hover);
    border-color: var(--admin-primary-hover);
    transform: translateY(-1px);
}

@media (max-width: 991px) {
/* Responsive */
@media (max-width: 992px) {
/* Responsiveness */
/* --------------------------------------------------------------------------
   RESPONSIVENESS
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .admin-sidebar {
        position: static;
        width: 100%;
        min-height: auto;
        max-height: 360px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .admin-shell {
        display: block;
    .admin-sidebar.show {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
        width: 100%;
        margin-left: 0;
    }

    .content-wrap {
        padding: 20px;
        padding: 20px 16px;
    }

    .dash-welcome-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        gap: 16px;
    }

    .permission-grid {
        grid-template-columns: 1fr;
    }
}
