body {
    margin: 0;
    background: #f5f7fb;
    color: #14213d;
    font-family: Arial, sans-serif;
}

button {
    cursor: pointer;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px 14px;
    background: #fff;
}

* {
    box-sizing: border-box;
}

.app-shell {
    min-height: 100vh;
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px 1fr;
}

.sidebar {
    background: #0f172a;
    color: #e2e8f0;
    padding: 24px 18px;
}

.sidebar-brand h2 {
    margin: 0;
}

.sidebar-nav {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.sidebar-link {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.sidebar-link.active {
    background: #2563eb;
    color: #fff;
}

.admin-content {
    padding: 24px;
}

.page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
}

.muted {
    color: #6b7280;
}

.stats-grid,
.content-grid,
.product-grid {
    display: grid;
    gap: 16px;
}

.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-bottom: 20px;
}

.content-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.product-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.card strong {
    display: block;
    margin-top: 8px;
    font-size: 24px;
}

.grid-1,
.form-grid {
    display: grid;
    gap: 16px;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px 10px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.btn {
    border: 0;
    border-radius: 12px;
    padding: 12px 16px;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
}

.btn-secondary {
    background: #0f172a;
}

.card-wide {
    grid-column: span 2;
}

.product-button {
    width: 100%;
    min-height: 88px;
    border: 1px solid #dbe3f0;
    border-radius: 16px;
    background: #f8fbff;
    padding: 16px;
    text-align: left;
    font-size: 16px;
}

.data-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.data-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eef2f7;
}

.data-list li:last-child {
    border-bottom: 0;
}

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

    .sidebar {
        padding: 16px;
    }

    .page {
        padding: 14px;
    }

    .hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .card-wide {
        grid-column: span 1;
    }

    .product-button {
        min-height: 72px;
        padding: 14px;
        font-size: 15px;
    }
}
