/* =====================================================
   Dashboard Styles — V2 Design System
   For: dashboard.html
   ===================================================== */

/* Navigation Bar */
.navbar {
    background: var(--nav-bg);
    color: var(--text);
    padding: 0;
    box-shadow: var(--nav-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo {
    height: 175px;
    width: auto;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-menu-btn {
    background: none;
    border: none;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.user-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.user-info {
    flex: 1;
}

.user-name {
    font-weight: 600;
    color: var(--heading);
    margin: 0 0 4px 0;
    font-size: 15px;
}

.user-email {
    color: var(--muted);
    margin: 0;
    font-size: 13px;
}

.user-tier-badge {
    background: rgba(0, 180, 255, 0.15);
    color: #00b4ff;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.user-tier-badge.tier-starter {
    background: rgba(0, 180, 255, 0.1);
    color: #00b4ff;
}

.user-tier-badge.tier-pro {
    background: rgba(0, 180, 255, 0.15);
    color: #0090cc;
}

.user-tier-badge.tier-max {
    background: rgba(0, 180, 255, 0.2);
    color: #007aa3;
}

.user-tier-badge.tier-ultra {
    background: rgba(0, 180, 255, 0.25);
    color: #005577;
}

.user-tier-badge.tier-founder {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    font-weight: 700;
    border: 2px solid #FFD700;
}

.user-dropdown-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 0 16px;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: var(--heading);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    text-align: left;
}

.user-dropdown-item:hover {
    background: rgba(0, 180, 255, 0.08);
}

.user-dropdown-item svg {
    flex-shrink: 0;
}

.logout-btn {
    color: #c33;
}

.logout-btn:hover {
    background: rgba(204, 51, 51, 0.08);
}

/* Dashboard Container */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 48px 48px;
    min-height: calc(100vh - 64px);
}

/* Dashboard Header */
.dashboard-header {
    margin-bottom: 32px;
}

.dashboard-header h1 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-size: 32px;
    color: var(--heading);
    margin: 0 0 4px 0;
}

.dashboard-subtitle {
    color: var(--muted);
    font-size: 16px;
    margin: 0;
}

/* Dashboard Card */
.dashboard-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    padding: 32px;
    margin-bottom: 32px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.card-header h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-size: 28px;
    color: var(--heading);
    margin: 0;
}

.usage-period {
    color: var(--muted);
    font-size: 14px;
}

/* Usage Stats */
.usage-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.usage-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.usage-progress {
    position: relative;
    width: 200px;
    height: 200px;
}

.usage-circle {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.usage-circle-bg {
    fill: none;
    stroke: var(--glass-border);
    stroke-width: 12;
}

.usage-circle-fill {
    fill: none;
    stroke: #00b4ff;
    stroke-width: 12;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease, stroke 0.3s ease;
}

.usage-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.usage-count {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--heading);
    line-height: 1;
}

.usage-limit {
    display: block;
    font-size: 14px;
    color: var(--muted);
    margin-top: 4px;
}

.usage-label {
    font-size: 15px;
    color: var(--heading);
    font-weight: 500;
    margin: 0;
}

/* Usage Breakdown */
.usage-breakdown h3 {
    font-size: 16px;
    color: var(--heading);
    margin: 0 0 16px 0;
}

.usage-tool-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.usage-tool-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--glass-border);
}

.usage-tool-item:last-child {
    border-bottom: none;
}

.tool-name {
    color: var(--text);
    font-size: 14px;
}

.tool-count {
    color: #00b4ff;
    font-weight: 700;
    font-size: 16px;
}

/* Upgrade CTA */
.upgrade-cta {
    background: linear-gradient(135deg, #00b4ff, #0090cc);
    color: white;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
}

.upgrade-cta p {
    margin: 0 0 16px 0;
    font-size: 15px;
}

.btn-upgrade {
    background: white;
    color: #00b4ff;
    padding: 10px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Dashboard Section */
.dashboard-section {
    margin-bottom: 32px;
}

.dashboard-section h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-size: 32px;
    color: var(--heading);
    margin: 0 0 24px 0;
}

/* Quick Actions Grid */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.quick-action-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    padding: 24px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.quick-action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 180, 255, 0.2);
    border-color: var(--glass-border-hover);
    filter: brightness(1.05);
}

.quick-action-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
}

.quick-action-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.quick-action-emoji {
    font-size: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-action-card h3 {
    font-size: 18px;
    color: var(--heading);
    margin: 0 0 4px 0;
}

.quick-action-card p {
    font-size: 14px;
    color: var(--text);
    margin: 0;
    line-height: 1.5;
}

/* Activity Card */
.activity-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    padding: 24px;
}

.no-activity {
    text-align: center;
    color: var(--muted);
    padding: 32px;
    margin: 0;
}

/* Activity Table */
.activity-table-wrap {
    max-height: 380px;
    overflow-y: auto;
    border-radius: 12px;
}

.activity-table-wrap::-webkit-scrollbar {
    width: 6px;
}

.activity-table-wrap::-webkit-scrollbar-track {
    background: var(--glass);
    border-radius: 3px;
}

.activity-table-wrap::-webkit-scrollbar-thumb {
    background: #00b4ff;
    border-radius: 3px;
}

.activity-table-wrap::-webkit-scrollbar-thumb:hover {
    background: #0090cc;
}

.activity-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.activity-table thead {
    position: sticky;
    top: 0;
    z-index: 1;
}

.activity-table th {
    padding: 10px 14px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    border-bottom: 1px solid var(--glass-border);
}

[data-theme="dark"] .activity-table th {
    background: rgba(255,255,255,0.03);
}

[data-theme="light"] .activity-table th {
    background: rgba(0,0,0,0.02);
}

.activity-table td {
    padding: 10px 14px;
    vertical-align: middle;
    border-bottom: 1px solid var(--glass-border);
}

/* Alternating rows */
[data-theme="dark"] .activity-table .row-even td {
    background: rgba(255,255,255,0.02);
}

[data-theme="dark"] .activity-table .row-odd td {
    background: rgba(255,255,255,0.05);
}

[data-theme="light"] .activity-table .row-even td {
    background: rgba(0,0,0,0.01);
}

[data-theme="light"] .activity-table .row-odd td {
    background: rgba(0,0,0,0.04);
}

.activity-table tr:hover td {
    background: rgba(0, 180, 255, 0.08);
}

.cell-title {
    font-weight: 500;
    color: var(--heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 340px;
}

.cell-tool {
    white-space: nowrap;
}

.tool-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(0,180,255,0.1);
    color: #00b4ff;
    border: 1px solid rgba(0,180,255,0.15);
}

.cell-date {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

.cell-action {
    text-align: right;
}

.btn-activity {
    background: rgba(0,180,255,0.12);
    color: #00b4ff;
    border: 1px solid rgba(0,180,255,0.2);
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-activity:hover {
    background: #00b4ff;
    color: #fff;
    border-color: #00b4ff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 100px 16px 24px;
    }

    .dashboard-header h1 {
        font-size: 24px;
    }

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

    .usage-progress {
        width: 160px;
        height: 160px;
    }

    .usage-count {
        font-size: 36px;
    }

    .quick-actions-grid {
        grid-template-columns: 1fr;
    }

    /* Stack table on mobile */
    .activity-table .cell-tool { display: none; }
    .cell-title { max-width: 200px; font-size: 12px; }
    .cell-date { font-size: 11px; }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 16px;
    }

    .nav-logo {
        height: 28px;
    }

    .user-menu-btn {
        font-size: 14px;
        padding: 6px 10px;
    }

    .dashboard-card {
        padding: 24px;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* =====================================================
   Usage Analytics Charts
   ===================================================== */

.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 32px;
    margin-top: 24px;
}

.chart-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.chart-card:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: var(--glass-border-hover);
}

.chart-card-header {
    margin-bottom: 24px;
}

.chart-card-header h3 {
    margin: 0;
    font-size: 18px;
    color: var(--heading);
    font-weight: 600;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

.chart-container canvas {
    max-height: 100%;
}

/* Responsive Charts */
@media (max-width: 1024px) {
    .charts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .chart-card {
        padding: 24px;
    }

    .chart-container {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .charts-grid {
        gap: 24px;
    }

    .chart-card {
        padding: 16px;
    }

    .chart-container {
        height: 220px;
    }

    .chart-card-header h3 {
        font-size: 16px;
    }
}

/* =====================================================
   Quick Action Large Card (Single AI Tool)
   ===================================================== */

.quick-actions-single {
    display: flex;
    justify-content: center;
}

.quick-action-card-large {
    display: block;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 32px 40px;
    text-decoration: none;
    max-width: 600px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--glass-border);
}

.quick-action-card-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 180, 255, 0.2);
    border-color: rgba(0, 180, 255, 0.3);
}

.quick-action-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.quick-action-bot-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
}

.quick-action-card-large h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--heading);
    margin: 0;
}

.quick-action-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #00b4ff;
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 6px;
    min-width: 40px;
}

.feature-text {
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
}

.quick-action-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #00b4ff, #0090cc);
    color: white;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.quick-action-card-large:hover .quick-action-cta {
    background: linear-gradient(135deg, #009de6, #007aa3);
}

.quick-action-cta svg {
    transition: transform 0.2s ease;
}

.quick-action-card-large:hover .quick-action-cta svg {
    transform: translateX(4px);
}

/* Responsive - Quick Action Large Card */
@media (max-width: 600px) {
    .quick-action-card-large {
        padding: 24px;
    }

    .quick-action-card-large h3 {
        font-size: 18px;
    }

    .quick-action-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .quick-action-cta {
        padding: 12px 20px;
        font-size: 15px;
    }
}

/* =====================================================
   Share the Pad - Referral Card
   ===================================================== */

.referral-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 32px;
    border: 1px solid var(--glass-border);
}

.referral-card .card-header {
    padding: 24px 32px 8px;
}

.referral-card .card-header h2 {
    color: var(--heading);
    margin: 0;
    font-size: 28px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 10px;
}

.referral-card .card-header h2::before {
    content: '';
}

.referral-content {
    padding: 0 32px 32px;
}

.referral-description {
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.referral-link-container {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.referral-link-input {
    flex: 1;
    padding: 12px 16px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    color: var(--input-text);
    font-size: 14px;
    font-family: monospace;
}

.referral-link-input:focus {
    outline: none;
    border-color: rgba(0, 180, 255, 0.4);
    background: var(--glass-strong);
}

.btn-copy {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #00b4ff, #0090cc);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    white-space: nowrap;
}

.btn-copy:hover {
    background: linear-gradient(135deg, #009de6, #007aa3);
}

.btn-copy:active {
    transform: scale(0.98);
}

.btn-copy.copied {
    background: linear-gradient(135deg, #4caf50, #388e3c);
}

.btn-copy svg {
    flex-shrink: 0;
}

.referral-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--muted);
    font-size: 14px;
}

.referral-stats strong {
    color: #00b4ff;
    font-weight: 700;
}

.stat-divider {
    color: var(--dim);
}

/* Responsive - Referral Card */
@media (max-width: 600px) {
    .referral-card .card-header {
        padding: 16px 24px 4px;
    }

    .referral-content {
        padding: 0 24px 24px;
    }

    .referral-link-container {
        flex-direction: column;
    }

    .btn-copy {
        justify-content: center;
    }

    .referral-stats {
        flex-wrap: wrap;
        gap: 8px 16px;
    }
}

/* =====================================================
   Health Check Card
   ===================================================== */
.health-check-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 32px;
    border: 1px solid var(--glass-border);
}

.health-check-card .card-header {
    padding: 24px 32px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.health-check-card .card-header h2 {
    color: var(--heading);
    margin: 0;
    font-size: 28px;
    font-weight: 400;
}

.health-check-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    letter-spacing: 0.5px;
}

.health-check-badge.locked {
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted);
}

.health-check-content {
    padding: 0 32px 32px;
}

.health-check-description {
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.btn-health-check {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #d68d0f, #b8760d);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-health-check:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(214, 141, 15, 0.3);
}

.btn-health-check.btn-locked {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    color: var(--muted);
}

.btn-health-check.btn-locked:hover {
    box-shadow: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.08));
}

.health-check-locked {
    opacity: 0.7;
}

@media (max-width: 600px) {
    .health-check-card .card-header {
        padding: 16px 24px 4px;
    }

    .health-check-content {
        padding: 0 24px 24px;
    }
}

/* =====================================================
   Quick Actions — Duo Slim Cards
   ===================================================== */

.quick-actions-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.quick-action-slim {
    display: flex;
    flex-direction: column;
    padding: 24px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.quick-action-slim:hover {
    transform: translateY(-4px);
}

.quick-action-slim-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.quick-action-slim-blue .quick-action-slim-icon {
    background: rgba(0, 180, 255, 0.12);
    border: 1px solid rgba(0, 180, 255, 0.2);
    color: #00b4ff;
}

.quick-action-slim-orange .quick-action-slim-icon {
    background: rgba(214, 141, 15, 0.12);
    border: 1px solid rgba(214, 141, 15, 0.2);
    color: #d68d0f;
}

.quick-action-slim h3 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--heading);
    margin: 0 0 8px 0;
}

.quick-action-slim p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0 0 16px 0;
    flex: 1;
}

.quick-action-slim-cta {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: color 0.2s;
}

.quick-action-slim-blue .quick-action-slim-cta {
    color: #00b4ff;
}

.quick-action-slim-orange .quick-action-slim-cta {
    color: #d68d0f;
}

.quick-action-slim-blue {
    background: linear-gradient(170deg, rgba(0, 180, 255, 0.1) 0%, rgba(0, 180, 255, 0.02) 50%, var(--card-bg) 100%);
    border: 1px solid rgba(0, 180, 255, 0.2);
}

.quick-action-slim-blue:hover {
    border-color: rgba(0, 180, 255, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 180, 255, 0.1);
}

.quick-action-slim-orange {
    background: linear-gradient(170deg, rgba(214, 141, 15, 0.1) 0%, rgba(214, 141, 15, 0.02) 50%, var(--card-bg) 100%);
    border: 1px solid rgba(214, 141, 15, 0.2);
}

.quick-action-slim-orange:hover {
    border-color: rgba(214, 141, 15, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(214, 141, 15, 0.1);
}

@media (max-width: 768px) {
    .quick-actions-duo {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   Usage Hub — Unified Stats + Analytics Card
   ===================================================== */

.usage-hub-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 180, 255, 0.2), transparent);
    margin: 24px 0 16px;
}

.usage-hub-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(0, 180, 255, 0.5);
    font-weight: 600;
    margin-bottom: 16px;
}

.usage-hub-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hub-chart-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px;
}

.hub-chart-card .chart-container {
    height: 180px;
}

@media (max-width: 768px) {
    .usage-hub-charts {
        grid-template-columns: 1fr;
    }
}

/* Tool Icons — Animated colored icons */
.tool-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    margin-right: 8px;
    flex-shrink: 0;
    animation: icon-pulse 3s ease-in-out infinite;
}

.tool-icon-create {
    background: rgba(0, 180, 255, 0.15);
    color: #00b4ff;
    border: 1px solid rgba(0, 180, 255, 0.25);
}

.tool-icon-rebuild {
    background: rgba(214, 141, 15, 0.15);
    color: #d68d0f;
    border: 1px solid rgba(214, 141, 15, 0.25);
    animation-delay: 1.5s;
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.85; }
}

.usage-note {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

/* =====================================================
   Aurora Wash — Card Backgrounds
   ===================================================== */

/* Usage Card — Blue */
.usage-card {
    background: linear-gradient(170deg, rgba(0, 180, 255, 0.14) 0%, rgba(0, 180, 255, 0.03) 50%, var(--card-bg) 100%);
    border: 1px solid rgba(0, 180, 255, 0.25);
}

.usage-card:hover {
    border-color: rgba(0, 180, 255, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 180, 255, 0.12);
}

/* Health Check Card — Green */
.health-check-card {
    background: linear-gradient(170deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.02) 50%, var(--card-bg) 100%);
    border: 1px solid rgba(16, 185, 129, 0.22);
}

.health-check-card:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(16, 185, 129, 0.12);
}

.btn-health-check {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Activity Card — Orange */
.activity-card {
    background: linear-gradient(170deg, rgba(214, 141, 15, 0.12) 0%, rgba(214, 141, 15, 0.02) 50%, var(--card-bg) 100%);
    border: 1px solid rgba(214, 141, 15, 0.22);
}

.activity-card:hover {
    border-color: rgba(214, 141, 15, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(214, 141, 15, 0.12);
}

/* Quick Action Large Card — Purple */
.quick-action-card-large {
    background: linear-gradient(170deg, rgba(139, 92, 246, 0.12) 0%, rgba(139, 92, 246, 0.02) 50%, var(--card-bg) 100%);
    border: 1px solid rgba(139, 92, 246, 0.22);
}

.quick-action-card-large:hover {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(139, 92, 246, 0.12);
}

/* Purple-tinted feature badges inside quick action card */
.quick-action-card-large .feature-badge {
    background: rgba(139, 92, 246, 0.12);
    color: #8b5cf6;
    border-color: rgba(139, 92, 246, 0.2);
}

/* =====================================================
   Usage Pressure Styles
   ===================================================== */

.usage-warning {
    font-size: 13px;
    color: #d68d0f;
    text-align: center;
    margin-top: 8px;
}

.usage-warning.limit-hit {
    color: #ef4444;
}

.usage-upgrade-link {
    font-size: 13px;
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 2px;
    margin-top: 4px;
    display: block;
    text-align: center;
}

.usage-upgrade-link:hover {
    color: #00b4ff;
}

/* =====================================================
   Website Publishing Panel — Purple Aurora Wash
   ===================================================== */

.website-publish-panel {
    background: linear-gradient(170deg, rgba(139, 92, 246, 0.12) 0%, rgba(139, 92, 246, 0.02) 50%, var(--card-bg) 100%);
    border: 1px solid rgba(139, 92, 246, 0.22);
}

.website-publish-panel:hover {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(139, 92, 246, 0.12);
}

/* Toggle switch */
.publish-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.publish-toggle input[type="checkbox"] {
    display: none;
}

.publish-toggle-slider {
    position: relative;
    width: 44px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    transition: background 0.25s ease, border-color 0.25s ease;
    flex-shrink: 0;
}

.publish-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: transform 0.25s ease, background 0.25s ease;
}

.publish-toggle input:checked + .publish-toggle-slider {
    background: rgba(16, 185, 129, 0.3);
    border-color: rgba(16, 185, 129, 0.5);
}

.publish-toggle input:checked + .publish-toggle-slider::after {
    transform: translateX(20px);
    background: #10b981;
}

.publish-toggle-label {
    font-size: 13px;
    font-family: 'Sora', sans-serif;
    color: var(--muted);
    min-width: 28px;
}

.publish-toggle input:checked ~ .publish-toggle-label {
    color: #10b981;
}

/* Panel body */
.publish-panel-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

/* Field labels */
.publish-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.publish-field label {
    font-size: 13px;
    font-weight: 600;
    font-family: 'Sora', sans-serif;
    color: var(--text);
    letter-spacing: 0.02em;
}

/* Glassmorphism inputs */
.publish-input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.publish-input::placeholder {
    color: var(--muted);
}

.publish-input:focus {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.collection-input-wrap {
    width: 100%;
}

/* Image upload zone */
.image-upload-zone {
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 24px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    background: rgba(255, 255, 255, 0.02);
}

.image-upload-zone:hover,
.image-upload-zone.drag-over {
    border-color: rgba(0, 180, 255, 0.5);
    background: rgba(0, 180, 255, 0.04);
}

.image-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    pointer-events: none;
}

.image-upload-placeholder svg {
    opacity: 0.5;
}

.image-upload-placeholder span {
    font-size: 14px;
    font-family: 'Sora', sans-serif;
}

.upload-hint {
    font-size: 12px !important;
    opacity: 0.6;
}

/* Image preview grid */
.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 4px;
}

.image-preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.remove-image {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: rgba(239, 68, 68, 0.85);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.15s ease;
    padding: 0;
}

.image-preview-item:hover .remove-image {
    opacity: 1;
}

/* Save button */
.btn-save-publish {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    padding: 10px 20px;
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    align-self: flex-start;
}

.btn-save-publish:hover {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.2);
}

/* Light theme overrides for publishing panel */
[data-theme="light"] .website-publish-panel {
    background: linear-gradient(170deg, rgba(139, 92, 246, 0.14) 0%, rgba(139, 92, 246, 0.03) 50%, var(--card-bg) 100%);
}

[data-theme="light"] .publish-input {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .publish-toggle-slider {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .image-upload-zone {
    border-color: rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.02);
}

/* =====================================================
   Light Theme Dashboard Overrides
   ===================================================== */

[data-theme="light"] .usage-card {
    background: linear-gradient(170deg, rgba(0, 180, 255, 0.16) 0%, rgba(0, 180, 255, 0.04) 50%, var(--card-bg) 100%);
}

[data-theme="light"] .health-check-card {
    background: linear-gradient(170deg, rgba(16, 185, 129, 0.14) 0%, rgba(16, 185, 129, 0.03) 50%, var(--card-bg) 100%);
}

[data-theme="light"] .activity-card {
    background: linear-gradient(170deg, rgba(214, 141, 15, 0.14) 0%, rgba(214, 141, 15, 0.03) 50%, var(--card-bg) 100%);
}

[data-theme="light"] .quick-action-card-large {
    background: linear-gradient(170deg, rgba(139, 92, 246, 0.14) 0%, rgba(139, 92, 246, 0.03) 50%, var(--card-bg) 100%);
}

/* ============================================================
   Station 27 Products Admin
   ============================================================ */

.station27-admin-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.station27-admin-actions {
  display: flex;
  gap: 8px;
}

.btn-refresh-cache {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-refresh-cache:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-refresh-cache.spinning svg {
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.station27-products-table-wrap {
  overflow-x: auto;
}

.station27-products-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: fixed;
}

.station27-products-table th {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.station27-products-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.station27-products-table tbody tr:hover {
  background: rgba(0, 180, 255, 0.04);
}

.col-thumb { width: 64px; }
.col-title { width: auto; }
.col-category { width: 90px; }
.col-price { width: 60px; }
.col-colors { width: 72px; }
.col-status { width: 100px; }
.col-actions { width: 70px; }

.product-thumb {
  width: 48px;
  height: 48px;
  max-width: 48px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}

.product-title-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-title-cell .title {
  font-weight: 500;
  color: var(--text);
}

.product-title-cell .subtitle {
  font-size: 12px;
  color: var(--muted);
}

.loading-row {
  text-align: center;
  color: var(--muted);
  padding: 24px !important;
}

.publish-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.publish-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.publish-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
  pointer-events: none;
}

.publish-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  transition: background 0.2s;
}

.publish-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
}

.publish-switch input:checked + .publish-slider {
  background: #22c55e;
}

.publish-switch input:checked + .publish-slider::before {
  transform: translateX(20px);
}

.publish-label {
  font-size: 12px;
  color: #94a3b8;
  min-width: 32px;
}

.publish-label--live {
  color: #22c55e;
  font-weight: 600;
}

.btn-edit-product {
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-edit-product:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.product-edit-form {
  padding: 20px;
  background: rgba(0, 180, 255, 0.03);
  border-top: 1px solid var(--border);
}

.edit-section {
  margin-bottom: 20px;
}

.edit-section h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 10px;
}

.edit-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.edit-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.edit-field.full-width {
  grid-column: 1 / -1;
}

.edit-field label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.edit-field input,
.edit-field select,
.edit-field textarea {
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}

.edit-field textarea {
  min-height: 80px;
  resize: vertical;
}

.dynamic-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dynamic-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dynamic-row input {
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
}

.dynamic-row .label-input { flex: 0 0 120px; }
.dynamic-row .value-input { flex: 1; }
.dynamic-row .name-input { flex: 0 0 100px; }
.dynamic-row .hex-input { width: 50px; padding: 2px; height: 36px; cursor: pointer; }
.dynamic-row .photo-select { flex: 1; }

.color-swatch-preview {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.btn-remove-row {
  padding: 4px 8px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
}

.btn-remove-row:hover { color: #ef4444; }

.btn-add-row {
  padding: 6px 12px;
  border: 1px dashed var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  margin-top: 4px;
}

.btn-add-row:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.edit-form-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.btn-save-product {
  padding: 8px 20px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-save-product:hover { opacity: 0.9; }

.btn-save-product:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-cancel-edit {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
}

.btn-cancel-edit:hover {
  border-color: var(--muted);
}

@media (max-width: 768px) {
  .edit-field-grid {
    grid-template-columns: 1fr;
  }

  .station27-admin-card .card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .col-category, .col-colors {
    display: none;
  }
}

/* =====================================================
   Tab Nav (Phase: dashboard cleanup)
   ===================================================== */
.tab-nav {
  display: flex;
  gap: 4px;
  margin: 0 0 24px;
  padding: 0 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }

.tab-nav__btn {
  background: transparent;
  border: none;
  padding: 12px 20px;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px; /* overlap nav border so active underline aligns */
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.tab-nav__btn:hover {
  color: var(--text);
}

.tab-nav__btn--active {
  color: #00b4ff;
  border-bottom-color: #00b4ff;
}

.tab-nav__btn:focus-visible {
  outline: 2px solid rgba(0, 180, 255, 0.5);
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* =====================================================
   Admin Drawer (Phase: dashboard cleanup)
   Slide-out drawer for Station 27 product edit. Sits above
   the navbar (z-index 1110 > navbar 1000); diff-upload modal
   stays on top (z-index 9999) when triggered from inside.
   Dark-only — does NOT use Phase 8 LITE/DARK tokens.
   ===================================================== */
.admin-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 560px;
  max-width: 100vw;
  background: #0e1420;
  color: var(--text);
  z-index: 1110;
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.admin-drawer--open {
  transform: translateX(0);
}

.admin-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.admin-drawer__title {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 12px;
}

.admin-drawer__close {
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}

.admin-drawer__close:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.admin-drawer__body {
  flex: 1;
  overflow-y: auto;
}

/* Inside the drawer the existing .product-edit-form styling (legacy aurora
   tint + top border that suited the inline-row context) is reset so the
   form sits flush with the drawer body. */
.admin-drawer__body .product-edit-form {
  padding: 24px;
  background: transparent;
  border-top: none;
}

.admin-drawer__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.admin-drawer__footer .btn-bulk-upload {
  background: rgba(0, 180, 255, 0.1);
  border: 1px solid rgba(0, 180, 255, 0.3);
  color: #00b4ff;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  margin-right: auto; /* push Save/Cancel to the right edge */
  transition: background 0.15s, border-color 0.15s;
}

.admin-drawer__footer .btn-bulk-upload:hover {
  background: rgba(0, 180, 255, 0.18);
  border-color: rgba(0, 180, 255, 0.5);
}

.admin-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1100;
}

.admin-drawer-backdrop--open {
  opacity: 1;
  pointer-events: auto;
}

/* Product rows are now click-to-open-drawer, so cue with cursor */
.station27-products-table tbody tr[data-product-id] {
  cursor: pointer;
}

@media (max-width: 600px) {
  .admin-drawer {
    width: 100vw;
  }
  .admin-drawer__footer {
    flex-wrap: wrap;
  }
  .admin-drawer__footer .btn-bulk-upload {
    margin-right: 0;
    width: 100%;
  }
}
