/* PWBR-style admin shell — works without Vite */

:root {
    --sidebar: #0f172a;
    --sidebar-border: #1e293b;
    --sidebar-text: #94a3b8;
    --sidebar-text-hover: #f1f5f9;
    --sidebar-active-bg: rgba(30, 41, 59, 0.85);
    --accent: #0d9488;
    --accent-soft: #ccfbf1;
    --page: #f1f5f9;
    --surface: #ffffff;
    --border: #e2e8f0;
    --text: #0f172a;
    --muted: #64748b;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 24px rgba(15, 23, 42, 0.06);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.admin-app {
    margin: 0;
    min-height: 100vh;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    background: var(--page);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    display: none;
    width: 16rem;
    flex-shrink: 0;
    flex-direction: column;
    background: var(--sidebar);
    color: var(--sidebar-text);
    border-right: 1px solid var(--sidebar-border);
}

@media (min-width: 1024px) {
    .admin-sidebar {
        display: flex;
    }
}

.admin-sidebar__brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--sidebar-border);
}

.admin-sidebar__mark {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #2dd4bf, #0f766e);
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.admin-sidebar__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.02em;
}

.admin-sidebar__subtitle {
    font-size: 0.6875rem;
    color: #64748b;
    margin-top: 0.125rem;
}

.admin-sidebar__nav {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem;
}

.admin-sidebar__nav a {
    display: block;
    padding: 0.5rem 0.75rem;
    margin-bottom: 2px;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--sidebar-text);
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.admin-sidebar__nav a:hover {
    background: rgba(30, 41, 59, 0.55);
    color: var(--sidebar-text-hover);
}

.admin-sidebar__nav a.is-active {
    background: var(--sidebar-active-bg);
    color: #fff;
    border-left-color: var(--accent);
}

.admin-sidebar__group {
    margin-bottom: 1rem;
}

.admin-sidebar__group:last-of-type {
    margin-bottom: 0;
}

.admin-sidebar__group-label {
    padding: 0.35rem 0.75rem 0.5rem;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #475569;
}

.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

@media (min-width: 1024px) {
    .admin-mobile-top {
        display: none;
    }
}

.admin-mobile-top__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.02em;
}

.admin-mobile-top a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.admin-mobile-nav {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 1024px) {
    .admin-mobile-nav {
        display: none;
    }
}

.admin-mobile-nav a {
    flex-shrink: 0;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    background: #fff;
    color: #475569;
    border: 1px solid var(--border);
    white-space: nowrap;
}

.admin-mobile-nav a.is-active {
    background: var(--sidebar);
    color: #fff;
    border-color: var(--sidebar);
}

.admin-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.admin-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4rem;
    padding: 0 1rem;
}

.admin-header__titles {
    min-width: 0;
}

.admin-header__tools {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .admin-header__inner {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .admin-header__inner {
        padding: 0 2rem;
    }
}

.admin-header__kicker {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.admin-header__title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .admin-header__title {
        font-size: 1.25rem;
    }
}

.admin-header__search {
    display: none;
    width: 14rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: #f8fafc;
    color: var(--text);
}

.admin-header__search::placeholder {
    color: #94a3b8;
}

.admin-header__search:focus {
    outline: none;
    border-color: #99f6e4;
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2);
    background: #fff;
}

@media (min-width: 640px) {
    .admin-header__search {
        display: block;
    }
}

@media (min-width: 1024px) {
    .admin-header__search {
        width: 16rem;
    }
}

.admin-header__user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem 0.25rem 0.25rem;
    border-radius: 9999px;
    border: 1px solid var(--border);
    background: #f8fafc;
}

.admin-header__avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #475569, #1e293b);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-header__user-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
}

@media (max-width: 639px) {
    .admin-header__user-name {
        display: none;
    }
}

.admin-body {
    flex: 1;
    padding: 1.25rem 1rem 2rem;
}

@media (min-width: 640px) {
    .admin-body {
        padding: 1.5rem 1.5rem 2.5rem;
    }
}

@media (min-width: 1024px) {
    .admin-body {
        padding: 2rem;
    }
}

.admin-alert {
    margin-bottom: 1.25rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Page shell (inner pages) */
.admin-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

@media (min-width: 640px) {
    .admin-panel {
        padding: 2rem;
    }
}

.admin-panel__lead {
    font-size: 0.875rem;
    color: var(--muted);
    margin: 0 0 1rem;
    max-width: 42rem;
    line-height: 1.6;
}

.admin-panel__stub {
    margin-top: 1.25rem;
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border);
    background: rgba(248, 250, 252, 0.9);
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
}

.admin-panel__stub strong {
    color: var(--text);
}

.admin-panel code {
    font-family: ui-monospace, monospace;
    font-size: 0.75rem;
    background: #fff;
    padding: 0.125rem 0.35rem;
    border-radius: 0.25rem;
    border: 1px solid var(--border);
    color: #334155;
}

/* Dashboard */
.admin-dash {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .admin-dash {
        grid-template-columns: 1fr 18rem;
        align-items: start;
    }
}

.admin-stat-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .admin-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1280px) {
    .admin-stat-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.admin-stat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    transition: box-shadow 0.15s;
}

.admin-stat:hover {
    box-shadow: var(--shadow-md);
}

.admin-stat__label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.admin-stat__value {
    margin: 0.5rem 0 0;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.admin-stat__hint {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
    color: var(--muted);
}

.admin-stat__delta {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
    font-weight: 600;
}

.admin-stat__delta--up {
    color: #0f766e;
}

.admin-dash__row {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (min-width: 1024px) {
    .admin-dash__row {
        grid-template-columns: 1fr 1fr;
    }
}

.admin-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.admin-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.admin-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.admin-card--stretch {
    min-height: 100%;
}

.admin-card--muted {
    background: linear-gradient(145deg, #fafafa, #fff);
    border-color: #e2e8f0;
}

.admin-card__link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.admin-card__link:hover {
    text-decoration: underline;
}

.admin-card__footnote {
    margin: 1rem 0 0;
    font-size: 0.75rem;
    color: var(--muted);
}

.admin-card__footnote code {
    font-family: ui-monospace, monospace;
    font-size: 0.6875rem;
    padding: 0.1rem 0.3rem;
    border-radius: 0.25rem;
    background: #f1f5f9;
    border: 1px solid var(--border);
}

.admin-inline-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.admin-inline-link:hover {
    text-decoration: underline;
}

.admin-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    background: var(--accent-soft);
    color: #115e59;
}

.admin-card__text {
    margin: 0.75rem 0 0;
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
}

.admin-chart {
    margin-top: 1.25rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.35rem;
    height: 10rem;
    padding: 1.5rem 1rem 1rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    border: 1px solid var(--border);
}

.admin-chart__bar {
    flex: 1;
    max-width: 10%;
    border-radius: 0.25rem 0.25rem 0 0;
    background: linear-gradient(180deg, #2dd4bf, #0d9488);
    opacity: 0.9;
    min-height: 12%;
}

.admin-actions {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

.admin-actions li + li {
    margin-top: 0.5rem;
}

.admin-actions a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid #f1f5f9;
    background: #f8fafc;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e293b;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.admin-actions a:hover {
    border-color: #99f6e4;
    background: rgba(204, 251, 241, 0.45);
    color: #0f766e;
}

.admin-actions__chev {
    color: #94a3b8;
    font-weight: 400;
}

.admin-aside-stack > * + * {
    margin-top: 1.5rem;
}

.admin-feed {
    list-style: none;
    margin: 1rem 0 0;
    padding: 1rem 0 0;
    border-top: 1px solid var(--border);
}

.admin-feed li {
    display: flex;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--muted);
}

.admin-feed__dot {
    flex-shrink: 0;
    width: 0.5rem;
    height: 0.5rem;
    margin-top: 0.4rem;
    border-radius: 9999px;
    background: #cbd5e1;
}

/* Inner page heading */
.admin-page-head {
    margin-bottom: 1rem;
}

.admin-page-head__subtitle {
    margin: 0;
    font-size: 0.875rem;
    color: var(--muted);
    max-width: 40rem;
    line-height: 1.55;
}

/* Empty / stub state */
.admin-empty {
    text-align: center;
    padding: 2rem 1rem;
}

.admin-empty__icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
    border: 1px solid var(--border);
    position: relative;
}

.admin-empty__icon::after {
    content: "";
    position: absolute;
    inset: 30% 35%;
    border-radius: 0.25rem;
    border: 2px dashed #94a3b8;
}

.admin-empty__title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
}

.admin-empty__text {
    margin: 0.75rem auto 0;
    max-width: 26rem;
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
}

.admin-empty__text code {
    font-family: ui-monospace, monospace;
    font-size: 0.75rem;
    padding: 0.1rem 0.3rem;
    border-radius: 0.25rem;
    background: #f8fafc;
    border: 1px solid var(--border);
    color: #334155;
}

/* Data table shell */
.admin-card--table-wrap {
    margin-top: 1.5rem;
}

.admin-table-scroll {
    margin-top: 1rem;
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.admin-table th,
.admin-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.admin-table th {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    background: #f8fafc;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table__num {
    text-align: right;
    white-space: nowrap;
}

.admin-table__user {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.admin-table__avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    flex-shrink: 0;
}

.admin-table__skeleton {
    display: block;
    height: 0.5rem;
    border-radius: 9999px;
    background: linear-gradient(90deg, #f1f5f9, #e2e8f0, #f1f5f9);
    background-size: 200% 100%;
    animation: admin-shimmer 1.4s ease-in-out infinite;
}

.admin-table__skeleton--text {
    width: 7rem;
}

.admin-table__skeleton--short {
    width: 4rem;
}

.admin-table__skeleton--date {
    width: 5.5rem;
    margin-left: auto;
}

@keyframes admin-shimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

.admin-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 600;
}

.admin-pill--muted {
    background: #f1f5f9;
    color: #64748b;
}

.admin-pill--ok {
    background: #d1fae5;
    color: #065f46;
}

.admin-pill--warn {
    background: #fef3c7;
    color: #92400e;
}

.admin-pill--bad {
    background: #fee2e2;
    color: #991b1b;
}

.admin-alert--error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.admin-toolbar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.admin-form {
    max-width: 40rem;
}

.admin-form-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .admin-form-grid--2 {
        grid-template-columns: 1fr 1fr;
    }
}

.admin-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.admin-field label,
.admin-field__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
}

.admin-field input[type="text"],
.admin-field input[type="email"],
.admin-field input[type="password"],
.admin-field input[type="number"],
.admin-field input[type="url"],
.admin-field select,
.admin-field textarea {
    width: 100%;
    padding: 0.55rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: #fff;
    color: var(--text);
    font-family: inherit;
}

.admin-field textarea {
    min-height: 6rem;
    resize: vertical;
}

.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus {
    outline: none;
    border-color: #99f6e4;
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.18);
}

.admin-field__error {
    font-size: 0.75rem;
    color: #b91c1c;
    margin: 0;
    line-height: 1.35;
}

.admin-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #334155;
}

.admin-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    line-height: 1.25;
}

.admin-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.admin-btn--primary {
    background: var(--accent);
    color: #fff;
    border-color: #0f766e;
}

.admin-btn--primary:hover {
    filter: brightness(1.05);
}

.admin-btn--ghost {
    background: #fff;
    color: #334155;
    border-color: var(--border);
}

.admin-btn--ghost:hover {
    background: #f8fafc;
}

.admin-btn--danger {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

.admin-btn--danger:hover {
    background: #fee2e2;
}

.admin-table__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.admin-table__link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.admin-table__link:hover {
    text-decoration: underline;
}

.admin-pagination {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

.admin-pagination nav {
    display: flex;
    gap: 0.35rem;
    align-items: center;
    font-size: 0.8125rem;
}

.admin-pagination a,
.admin-pagination span {
    padding: 0.35rem 0.65rem;
    border-radius: 0.35rem;
    border: 1px solid var(--border);
    background: #fff;
    color: #334155;
    text-decoration: none;
}

.admin-pagination span[aria-current="page"] {
    background: var(--sidebar);
    color: #fff;
    border-color: var(--sidebar);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Admin sign-in (standalone page) */
.admin-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(160deg, #f1f5f9 0%, #e2e8f0 45%, #ccfbf1 100%);
}

.admin-auth-card {
    width: 100%;
    max-width: 26rem;
    padding: 2rem;
    background: var(--surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.admin-auth-card__brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.admin-auth-card__title {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text);
}

.admin-auth-card__subtitle {
    font-size: 0.8125rem;
    color: var(--muted);
}

.admin-auth-form {
    margin-top: 0.5rem;
}

.admin-auth-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--muted);
    margin: 0 0 1rem;
    cursor: pointer;
}

.admin-auth-remember input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--accent);
}

.admin-auth-submit {
    width: 100%;
    justify-content: center;
}

/* Header account + logout */
.admin-header__account {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.admin-header__logout-form {
    margin: 0;
}

.admin-header__logout {
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--muted);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.4rem 0.65rem;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.admin-header__logout:hover {
    color: var(--text);
    border-color: #cbd5e1;
    background: #f8fafc;
}

/* Table row icon actions */
.admin-icon-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    justify-content: flex-end;
}

.admin-icon-form {
    display: inline;
    margin: 0;
    padding: 0;
}

.admin-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    background: #fff;
    color: #475569;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.admin-icon-btn:hover {
    color: var(--accent);
    border-color: var(--accent-soft);
    background: var(--accent-soft);
    box-shadow: var(--shadow);
}

.admin-icon-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.admin-icon-btn--danger:hover {
    color: #b91c1c;
    border-color: #fecaca;
    background: #fef2f2;
}
