.admin-shell {
    align-items: start;
}

.admin-panel {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(220, 38, 38, 0.14);
    color: rgb(220, 38, 38);
}

.admin-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.admin-field span,
.admin-field small {
    opacity: 0.82;
}

.admin-field input,
.admin-field textarea {
    width: 100%;
    border-radius: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(255, 255, 255, 0.75);
    color: #111827;
    padding: 0.85rem 1rem;
    outline: none;
}

:root[theme="dark"] .admin-field input,
:root[theme="dark"] .admin-field textarea {
    background: rgba(15, 23, 42, 0.82);
    color: #f8fafc;
}

.admin-field input:focus,
.admin-field textarea:focus {
    border-color: rgba(220, 38, 38, 0.55);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.admin-submit,
.admin-secondary-button {
    border: 0;
    border-radius: 0.9rem;
    padding: 0.9rem 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.admin-submit {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fff;
}

.admin-secondary-button {
    background: rgba(148, 163, 184, 0.18);
    color: inherit;
    min-width: 120px;
}

.admin-submit:hover,
.admin-secondary-button:hover {
    transform: translateY(-1px);
}

.admin-submit:disabled,
.admin-secondary-button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}

.admin-status {
    min-height: 1.5rem;
    font-weight: 600;
}

.admin-status[data-tone="success"] {
    color: #16a34a;
}

.admin-status[data-tone="error"] {
    color: #dc2626;
}

.admin-status[data-tone="info"] {
    color: inherit;
    opacity: 0.85;
}

.admin-grid-summary {
    opacity: 0.82;
    font-weight: 600;
}

.admin-table-wrapper {
    overflow: auto;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 880px;
}

.admin-table th,
.admin-table td {
    padding: 0.9rem 1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.admin-table th {
    position: sticky;
    top: 0;
    background: rgba(248, 250, 252, 0.96);
    z-index: 1;
}

:root[theme="dark"] .admin-table th {
    background: rgba(15, 23, 42, 0.96);
}

.admin-product-cell {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.admin-product-cell span {
    opacity: 0.78;
    line-height: 1.4;
}

.admin-empty-state {
    text-align: center;
    opacity: 0.72;
}

.admin-search-field {
    min-width: min(100%, 280px);
}

@media (max-width: 1024px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }
}