[x-cloak] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, "Plus Jakarta Sans", Figtree, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
    letter-spacing: 0;
}

.bootstrap-ready .btn-primary {
    color: #fff;
}

.admin-body {
    min-height: 100vh;
    margin: 0;
    background: #f1f5f9;
    color: #1e293b;
    font-family: Inter, "Plus Jakarta Sans", Figtree, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 30;
    display: none;
    width: 18rem;
    flex-direction: column;
    border-right: 1px solid rgb(255 255 255 / 0.1);
    background: #020617;
    color: #fff;
}

.admin-sidebar-brand {
    padding: 1.5rem;
}

.admin-brand-name {
    display: block;
    color: #fff;
    text-decoration: none;
    font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
}

.admin-brand-subtitle {
    margin: 0.25rem 0 0;
    color: #94a3b8;
    font-size: 0.75rem;
}

.admin-nav {
    flex: 1 1 auto;
    padding: 0 1rem;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    color: #cbd5e1;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25rem;
    text-decoration: none;
}

.admin-nav-link:hover {
    background: rgb(255 255 255 / 0.1);
    color: #fff;
}

.admin-nav-link-active {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 10px 25px rgb(37 99 235 / 0.22);
}

.admin-active-dot {
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: #fff;
}

.admin-sidebar-footer {
    padding: 1rem;
    border-top: 1px solid rgb(255 255 255 / 0.1);
}

.admin-sidebar-button,
.admin-signout {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgb(255 255 255 / 0.1);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
}

.admin-signout {
    margin-top: 0.5rem;
    color: #cbd5e1;
}

.admin-main {
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
}

.admin-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid #e2e8f0;
    background: rgb(255 255 255 / 0.94);
    padding: 1rem;
}

.admin-header-row,
.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-header-row {
    justify-content: space-between;
}

.admin-header p,
.admin-header h1 {
    margin: 0;
}

.admin-header p {
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.admin-header h1 {
    color: #0f172a;
    font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.4;
}

.admin-header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    background: #fff;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
}

.admin-mobile-nav {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.admin-mobile-nav-link {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    background: #e2e8f0;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.admin-mobile-nav-link-active {
    background: #2563eb;
    color: #fff;
}

.admin-content {
    padding: 1rem;
}

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

    .admin-main {
        padding-left: 18rem;
    }

    .admin-header {
        padding: 1rem 2rem;
    }

    .admin-mobile-nav {
        display: none;
    }

    .admin-content {
        padding: 2rem;
    }
}
