:root {
    --bg-dark: #080808;
    --card-bg: rgba(21, 21, 21, 0.8);
    --gold: #ffd000;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --accent-green: #00ff88;
    --accent-blue: #4da6ff;
    --red-badge: #ff2d55;
    --border: rgba(255, 208, 0, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* ── Utility ── */
.hidden {
    display: none !important;
}

/* Page Transition */
.page-transition-enter {
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Admin Container ── */
.admin-container {
    display: flex;
    min-height: 100vh;
}

/* ── Sidebar ── */
.sidebar {
    width: 260px;
    background: linear-gradient(180deg, #050505 0%, #0a0a0a 100%);
    border-right: 1px solid rgba(255, 208, 0, 0.08);
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 4px 0 24px rgba(0,0,0,0.4);
}

.logo {
    position: relative;
    margin-bottom: 3rem;
}

.logo h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo span { 
    background: linear-gradient(90deg, var(--gold) 0%, #fff099 50%, var(--gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

nav ul { list-style: none; }

nav li {
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    user-select: none;
    position: relative;
    overflow: hidden;
}

nav li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gold);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: left center;
}

nav li:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    transform: translateX(4px);
}

nav li.active {
    background: linear-gradient(90deg, rgba(255, 208, 0, 0.15) 0%, rgba(255, 208, 0, 0.02) 100%);
    color: var(--gold);
    font-weight: 500;
}

nav li.active::before {
    transform: scaleY(1);
}

nav li a {
    color: inherit;
    text-decoration: none;
    display: contents;
}

nav li svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.btn-logout {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 45, 85, 0.3);
    background: rgba(255, 45, 85, 0.08);
    color: var(--red-badge);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    transition: 0.3s;
    font-size: 0.95rem;
}

.btn-logout:hover {
    background: rgba(255, 45, 85, 0.18);
    border-color: rgba(255, 45, 85, 0.5);
}

/* ── Main Content ── */
.content {
    margin-left: 260px;
    flex: 1;
    padding: 2rem;
    min-height: 100vh;
}

/* ── Top Bar ── */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.top-bar h2 {
    font-family: 'Bebas Neue';
    font-size: 2rem;
    letter-spacing: 1px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 6px var(--accent-green);
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* ── Dashboard Cards ── */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: 16px;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.card:hover {
    border-color: rgba(255, 208, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 208, 0, 0.05);
}

.widget {
    position: relative;
    overflow: hidden;
}

.widget::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 208, 0, 0.04);
    pointer-events: none;
}

.widget h3 {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.widget .value {
    font-size: 2rem;
    font-weight: 700;
    margin: 8px 0;
    color: var(--gold);
    line-height: 1.1;
}

.widget .trend {
    color: var(--accent-green);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.widget .trend-green { color: var(--accent-green); }

.widget .subtitle {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.widget-icon {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    background: rgba(255, 208, 0, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

/* ── Table Styling ── */
.table-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.table-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th {
    text-align: left;
    color: var(--text-muted);
    padding: 12px;
    font-weight: 500;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
}

td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.9rem;
    vertical-align: middle;
}

tbody tr {
    transition: background 0.15s ease, transform 0.1s ease;
}

tbody tr:hover {
    background: rgba(255, 255, 255, 0.04);
}

tbody tr[data-selected="true"] {
    background: rgba(255, 208, 0, 0.05);
}

/* ── Badges ── */
.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
}

.badge.success {
    background: rgba(0, 255, 136, 0.12);
    color: var(--accent-green);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.badge.pending {
    background: rgba(255, 165, 0, 0.12);
    color: #ffa500;
    border: 1px solid rgba(255, 165, 0, 0.2);
}

.badge.delivered {
    background: rgba(77, 166, 255, 0.12);
    color: var(--accent-blue);
    border: 1px solid rgba(77, 166, 255, 0.2);
}

/* ── Buttons ── */
.btn-primary {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: opacity 0.2s ease, transform 0.1s ease;
    white-space: nowrap;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-danger {
    background: rgba(255, 45, 85, 0.12);
    color: var(--red-badge);
    border: 1px solid rgba(255, 45, 85, 0.2);
    border-radius: 8px;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.btn-danger:hover {
    background: rgba(255, 45, 85, 0.22);
}

/* ── Table Controls ── */
.table-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 12px;
}

.search-input,
.filter-select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    border-radius: 8px;
    font-size: 0.88rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input {
    min-width: 200px;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(255, 208, 0, 0.1);
}

.filter-select option {
    background: #111;
    color: var(--text-main);
}

.bulk-select {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}

.bulk-select input[type="checkbox"],
#selectAllHeader {
    width: 16px;
    height: 16px;
    accent-color: var(--gold);
    cursor: pointer;
}

/* ── Empty State ── */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.empty-state-icon {
    font-size: 2.5rem;
    opacity: 0.5;
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 0.95rem;
    margin: 0;
}

/* ── Product Manager ── */
.product-manager {
    display: grid;
    gap: 24px;
}

.category-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.category-tab {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    font-size: 0.9rem;
}

.category-tab.active,
.category-tab:hover {
    background: rgba(255, 208, 0, 0.15);
    color: var(--gold);
    border-color: rgba(255, 208, 0, 0.3);
}

/* Subcategory Admin Tabs */
.subcategory-admin-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border-radius: 14px;
    border: 1px solid var(--border);
}

.subcategory-admin-tab {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    color: var(--text-muted);
    padding: 7px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.82rem;
    font-weight: 500;
}

.subcategory-admin-tab.active,
.subcategory-admin-tab:hover {
    background: rgba(0, 200, 120, 0.15);
    color: #00c878;
    border-color: rgba(0, 200, 120, 0.3);
}

.category-editor {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.editor-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.editor-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.editor-header p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 4px;
}

.editor-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.category-meta {
    display: grid;
    gap: 14px;
    margin-bottom: 1.5rem;
}

.category-meta label {
    display: grid;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.category-meta input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: white;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.category-meta input:focus {
    outline: none;
    border-color: var(--gold);
}

/* ── Auth Modal Premium ── */
.modal-overlay,
.auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: grid;
    place-items: center;
    padding: 20px;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.auth-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.auth-card {
    background: rgba(18, 18, 18, 0.85);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 24px 64px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.1);
    max-width: 420px;
    width: 90vw;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    transform: translateY(0);
    animation: authSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes authSlideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-logo-wrap {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.auth-logo-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 4px;
}

.auth-logo-title span {
    color: var(--gold);
}

.auth-logo-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.auth-input-label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.auth-label-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 14px;
    font-size: 1.1rem;
    color: var(--text-muted);
    opacity: 0.7;
}

.auth-input-wrap input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 14px 14px 14px 44px;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.auth-input-wrap input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 208, 0, 0.1);
}

.auth-eye-btn {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    padding: 4px;
}

.auth-eye-btn:hover {
    opacity: 1;
    color: #fff;
}

.auth-modal-actions {
    margin-top: 1rem;
}

.auth-login-btn {
    width: 100%;
    padding: 14px;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.auth-login-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.auth-login-btn:hover::after {
    opacity: 1;
}

.auth-btn-spinner {
    animation: spin 1s linear infinite;
    display: inline-block;
}

.error-message {
    color: var(--red-badge);
    font-size: 0.85rem;
    min-height: 20px;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    text-align: center;
    margin-top: 8px;
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

.auth-card.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.auth-login-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── Order / Generic Modal ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: grid;
    place-items: center;
    padding: 20px;
    z-index: 50;
}

.modal-overlay.hidden {
    display: none;
}

.modal-card {
    width: min(540px, 100%);
    background: rgba(14, 14, 14, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 24px;
    display: grid;
    gap: 20px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.modal-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    font-size: 1rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
}

.modal-body {
    display: grid;
    gap: 14px;
}

.modal-body label {
    display: grid;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.modal-body input,
.modal-body select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: white;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.modal-body input:focus,
.modal-body select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(255, 208, 0, 0.1);
}

.modal-body select option {
    background: #111;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── Item Table (Products) ── */
.item-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
}

.item-table {
    width: 100%;
    border-collapse: collapse;
}

.item-table th,
.item-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.item-table th {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.item-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.photo-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.photo-upload-container {
    position: relative;
    width: 78px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.item-photo-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.photo-upload-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.photo-upload-container:hover .photo-upload-overlay {
    opacity: 1;
}

.photo-upload-container.drag-over {
    background: rgba(255, 208, 0, 0.15);
    border: 2px dashed var(--gold);
}

.photo-upload-container.drag-over .photo-upload-overlay {
    opacity: 1;
    background: rgba(255, 208, 0, 0.2);
}

.upload-label {
    cursor: pointer;
}

.upload-button {
    background: var(--gold);
    color: #000;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.input-photo-file,
.input-photo-data {
    display: none;
}

.input-name,
.input-price {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: white;
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
}

.input-name:focus,
.input-price:focus {
    outline: none;
    border-color: var(--gold);
}

.btn-remove-item {
    background: rgba(255, 45, 85, 0.1);
    color: var(--red-badge);
    border: 1px solid rgba(255, 45, 85, 0.2);
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.btn-remove-item:hover {
    background: rgba(255, 45, 85, 0.22);
}

/* ── Notification System ── */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 380px;
    pointer-events: none;
}

.notification {
    background: rgba(22, 22, 22, 0.98);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px 16px 16px;
    border-left: 4px solid var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    font-size: 0.9rem;
    pointer-events: all;
    position: relative;
    overflow: hidden;
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.notification-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.notification-text {
    flex: 1;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.6;
    padding: 0 4px;
    line-height: 1;
    transition: opacity 0.2s;
}

.notification-close:hover {
    opacity: 1;
    color: #fff;
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255,255,255,0.2);
    width: 100%;
    transform-origin: left;
    animation: shrinkProgress 3.5s linear forwards;
}

@keyframes shrinkProgress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

@keyframes slideIn {
    from { transform: translateX(120%) scale(0.95); opacity: 0; }
    to   { transform: translateX(0) scale(1); opacity: 1; }
}

.notification.fade-out {
    animation: slideOut 0.3s ease forwards;
}

@keyframes slideOut {
    to { transform: translateX(120%) scale(0.95); opacity: 0; }
}

.notification-success { border-left-color: var(--accent-green); }
.notification-success .notification-icon { color: var(--accent-green); }
.notification-success .notification-progress { background: var(--accent-green); }

.notification-error { border-left-color: var(--red-badge); }
.notification-error .notification-icon { color: var(--red-badge); }
.notification-error .notification-progress { background: var(--red-badge); }

.notification-warning { border-left-color: #ffa500; }
.notification-warning .notification-icon { color: #ffa500; }
.notification-warning .notification-progress { background: #ffa500; }

.notification-info { border-left-color: var(--gold); }
.notification-info .notification-icon { color: var(--gold); }
.notification-info .notification-progress { background: var(--gold); }

/* ── Loading Spinner ── */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    gap: 16px;
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 208, 0, 0.2);
    border-top: 4px solid var(--gold);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ── Placeholder Section Cards ── */
.placeholder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.placeholder-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.placeholder-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
}

.placeholder-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.coming-soon-badge {
    display: inline-block;
    background: rgba(255, 208, 0, 0.1);
    color: var(--gold);
    border: 1px solid rgba(255, 208, 0, 0.2);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 500;
    width: fit-content;
}

/* ── CRM Table ── */
.crm-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.crm-stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.crm-stat .stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
}

.crm-stat .stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ── Bulk Action Bar ── */
.bulk-action-bar {
    display: none;
    align-items: center;
    gap: 12px;
    background: rgba(255, 208, 0, 0.08);
    border: 1px solid rgba(255, 208, 0, 0.2);
    border-radius: 10px;
    padding: 10px 16px;
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--gold);
}

.bulk-action-bar.visible {
    display: flex;
}

.bulk-action-bar span {
    flex: 1;
    font-weight: 500;
}

.bulk-action-bar .btn-danger {
    padding: 7px 14px;
    font-size: 0.85rem;
}

/* ── Relatorios Charts Placeholder ── */
.chart-placeholder {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 208, 0, 0.2);
    border-radius: 12px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* ── Section intro text ── */
.section-intro {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* ══════════════════════════════════════
   BACK TO HOME LINK (Auth Modal)
══════════════════════════════════════ */
.back-to-home {
    display: block;
    text-align: center;
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 6px;
}
.back-to-home:hover { color: var(--gold); }

/* ══════════════════════════════════════
   SECTION TABS (Pedidos sub-sections)
══════════════════════════════════════ */
.section-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.section-tab {
    padding: 8px 18px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    transition: 0.2s;
    font-family: 'Inter', sans-serif;
}
.section-tab.active,
.section-tab:hover {
    background: rgba(255,208,0,0.1);
    color: var(--gold);
    border-color: rgba(255,208,0,0.3);
}

/* ══════════════════════════════════════
   DELIVERY TRACKING
══════════════════════════════════════ */
.delivery-table-wrapper { overflow-x: auto; margin-top: 1rem; }

.delivery-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.delivery-table th,
.delivery-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.delivery-table th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.delivery-table tr:hover td { background: rgba(255,208,0,0.03); }

.badge.in-route {
    background: rgba(255,165,0,0.15);
    color: #ffa500;
    border: 1px solid rgba(255,165,0,0.3);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}
.badge.waiting {
    background: rgba(160,160,160,0.12);
    color: #a0a0a0;
    border: 1px solid rgba(160,160,160,0.25);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}
.badge.cancelled {
    background: rgba(255,45,85,0.12);
    color: var(--red-badge);
    border: 1px solid rgba(255,45,85,0.25);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.btn-whatsapp {
    background: rgba(37,211,102,0.12);
    border: 1px solid rgba(37,211,102,0.3);
    color: #25D366;
    border-radius: 8px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    transition: 0.2s;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}
.btn-whatsapp:hover { background: rgba(37,211,102,0.22); }

.delivery-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }

/* ══════════════════════════════════════
   ROUTE PLANNER
══════════════════════════════════════ */
.route-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1rem;
}
.route-card h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}
.route-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 1rem;
    max-height: 300px;
    overflow-y: auto;
}
.route-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
}
.route-item-info { flex: 1; }
.route-item-driver { color: var(--gold); font-size: 0.78rem; font-weight: 600; }
.route-item-address { color: var(--text-muted); font-size: 0.78rem; margin-top: 2px; }
.route-item-notes { color: var(--text-muted); font-size: 0.72rem; margin-top: 2px; font-style: italic; }

/* ══════════════════════════════════════
   SCHEDULING
══════════════════════════════════════ */
.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}
.schedule-form-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
}
.schedule-form-card h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}
.schedule-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 420px;
    overflow-y: auto;
}
.schedule-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.schedule-item-time {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    color: var(--gold);
    line-height: 1;
}
.schedule-item-customer { font-size: 0.85rem; font-weight: 600; }
.schedule-item-info { font-size: 0.78rem; color: var(--text-muted); }
.schedule-item-actions { display: flex; gap: 6px; margin-top: 6px; }

/* ══════════════════════════════════════
   ANALYTICS / RELATÓRIOS
══════════════════════════════════════ */
.analytics-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.analytics-stat {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    text-align: center;
}
.analytics-stat .stat-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--gold);
    line-height: 1;
}
.analytics-stat .stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.analytics-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.analytics-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
}
.analytics-card h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Bar Chart */
.bar-chart-wrap {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 130px;
    padding-bottom: 28px;
    position: relative;
    border-bottom: 1px solid var(--border);
}
.bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    position: relative;
}
.bar {
    width: 100%;
    background: linear-gradient(180deg, var(--gold) 0%, rgba(255,208,0,0.35) 100%);
    border-radius: 4px 4px 0 0;
    min-height: 3px;
    transition: height 0.6s cubic-bezier(.25,.8,.25,1);
    position: relative;
    cursor: pointer;
}
.bar:hover::after {
    content: attr(data-value);
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.65rem;
    color: var(--gold);
    white-space: nowrap;
    z-index: 10;
}
.bar-day {
    position: absolute;
    bottom: -22px;
    font-size: 0.6rem;
    color: var(--text-muted);
    text-align: center;
    width: 100%;
}

/* Top Products */
.top-products-list { list-style: none; }
.top-products-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.82rem;
}
.top-products-list li:last-child { border-bottom: none; }
.top-rank {
    color: var(--gold);
    font-weight: 700;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    min-width: 22px;
}
.top-bar-mini {
    flex: 1;
    height: 4px;
    background: rgba(255,208,0,0.15);
    border-radius: 2px;
    overflow: hidden;
}
.top-bar-mini-fill {
    height: 100%;
    background: var(--gold);
    border-radius: 2px;
}
.top-count {
    color: var(--text-muted);
    font-size: 0.75rem;
    min-width: 40px;
    text-align: right;
}

/* Status Distribution Bars */
.status-donut-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
.status-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
}
.status-bar-label { min-width: 80px; color: var(--text-muted); }
.status-bar-track {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.06);
    border-radius: 4px;
    overflow: hidden;
}
.status-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
}
.status-bar-fill.pending   { background: #ffa500; }
.status-bar-fill.success   { background: var(--accent-green); }
.status-bar-fill.delivered { background: #4a9eff; }
.status-bar-pct { min-width: 36px; text-align: right; color: var(--text-muted); font-size: 0.75rem; }

.analytics-export-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* ══════════════════════════════════════
   FORM INPUTS (shared admin forms)
══════════════════════════════════════ */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.form-grid.cols-1 { grid-template-columns: 1fr; }

.form-label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.form-label input,
.form-label select,
.form-label textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text-main);
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}
.form-label input:focus,
.form-label select:focus,
.form-label textarea:focus {
    border-color: rgba(255,208,0,0.4);
    box-shadow: 0 0 0 2px rgba(255,208,0,0.08);
}
.form-label textarea { resize: vertical; min-height: 60px; }
.form-label select option { background: #111; }

/* ══════════════════════════════════════
   RESPONSIVE — New sections
══════════════════════════════════════ */
@media (max-width: 900px) {
    .analytics-stat-grid { grid-template-columns: repeat(2, 1fr); }
    .analytics-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .schedule-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .analytics-stat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════
   COMBOS DA HOME — Admin Section
══════════════════════════════════════ */

/* Actions bar */
.combos-home-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

/* List of combo cards */
.combos-home-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Individual combo admin card */
.combo-admin-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    transition: border-color 0.2s, opacity 0.2s;
}

.combo-admin-card--inactive {
    opacity: 0.55;
    border-color: rgba(255,255,255,0.06);
}

.combo-admin-card--active {
    border-color: rgba(255, 208, 0, 0.18);
}

.combo-admin-card:hover {
    border-color: rgba(255, 208, 0, 0.35);
}

/* Thumbnail */
.combo-admin-thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.combo-admin-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.combo-admin-no-img {
    font-size: 1.8rem;
    opacity: 0.4;
}

/* Info block */
.combo-admin-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.combo-admin-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.combo-admin-badge {
    display: inline-block;
    background: rgba(255, 208, 0, 0.15);
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid rgba(255, 208, 0, 0.25);
    vertical-align: middle;
    margin-left: 6px;
}

.combo-admin-price {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.combo-admin-items {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Status badge */
.combo-status-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 20px;
    margin-top: 2px;
}

.combo-status-on {
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.combo-status-off {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.08);
}

/* Action buttons group */
.combo-admin-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* ── Combo Modal Overlay ── */
.combo-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.combo-modal-card {
    background: #111;
    border: 1px solid rgba(255, 208, 0, 0.2);
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.combo-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.combo-modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
}

.combo-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.combo-modal-close:hover {
    color: var(--text-main);
    background: rgba(255,255,255,0.08);
}

/* Image editor block */
.combo-img-editor {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 1.2rem;
}

.combo-img-preview-wrap {
    width: 100%;
    height: 160px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px dashed rgba(255,208,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.combo-img-preview-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.combo-img-placeholder {
    font-size: 2.5rem;
    opacity: 0.25;
}

/* Clickable overlay label — triggers file input */
/* Use .combo-img-preview-wrap prefix for higher specificity than .modal-body label */
.combo-img-preview-wrap .combo-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
    text-align: center;
    letter-spacing: 0.3px;
    user-select: none;
    gap: 0;
}

.combo-img-preview-wrap .combo-img-overlay:hover {
    background: rgba(0, 0, 0, 0.68);
    color: var(--gold);
}

/* Toggle (active/inactive) */
.combo-active-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}

.toggle-label input[type="checkbox"] {
    display: none;
}

.toggle-track {
    width: 40px;
    height: 22px;
    background: rgba(255,255,255,0.1);
    border-radius: 999px;
    position: relative;
    transition: background 0.25s ease;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.12);
}

.toggle-label input[type="checkbox"]:checked + .toggle-track {
    background: var(--gold);
    border-color: var(--gold);
}

.toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.toggle-label input[type="checkbox"]:checked + .toggle-track .toggle-thumb {
    transform: translateX(18px);
}

.toggle-text {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Modal form grid */
.combo-modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.combo-modal-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.combo-modal-row.cols-1 {
    grid-template-columns: 1fr;
}

.combo-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* Danger button */
.btn-danger {
    background: rgba(255, 45, 85, 0.12);
    border: 1px solid rgba(255, 45, 85, 0.3);
    color: var(--red-badge);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s;
    font-family: 'Inter', sans-serif;
}

.btn-danger:hover {
    background: rgba(255, 45, 85, 0.22);
    border-color: rgba(255, 45, 85, 0.5);
}

/* ── Responsive: combos admin ── */
@media (max-width: 768px) {
    .combo-admin-card {
        flex-wrap: wrap;
    }
    .combo-admin-actions {
        width: 100%;
        justify-content: flex-start;
    }
    .combo-modal-row {
        grid-template-columns: 1fr;
    }
}
