:root {
    --dark: #080808;
    --black: #111111;
    --soft-black: #181818;
    --white: #ffffff;
    --light: #f6f6f6;
    --border: #e8e8e8;
    --muted: #707070;
    --shadow: 0 18px 55px rgba(0, 0, 0, 0.08);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

body {
    background: #f7f7f7;
    color: var(--black);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
}

a {
    text-decoration: none;
}

.login-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.15), transparent 30%),
        linear-gradient(135deg, #050505 0%, #171717 45%, #ffffff 45%, #f3f3f3 100%);
}

.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.login-visual {
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 50px;
}

.vinyl-wrap {
    max-width: 520px;
}

.vinyl-disc {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background:
        repeating-radial-gradient(circle, #111 0, #111 9px, #1d1d1d 10px, #1d1d1d 13px);
    border: 12px solid #282828;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spin 9s linear infinite;
    box-shadow: 0 25px 80px rgba(0,0,0,0.35);
    margin-bottom: 35px;
}

.vinyl-center {
    width: 90px;
    height: 90px;
    background: #fff;
    color: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vinyl-center i {
    font-size: 34px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.equalizer {
    display: flex;
    gap: 8px;
    height: 55px;
    align-items: end;
    margin-bottom: 25px;
}

.equalizer span {
    width: 10px;
    background: #fff;
    border-radius: 10px;
    animation: equalize 1.1s infinite ease-in-out;
}

.equalizer span:nth-child(1) { height: 22px; animation-delay: .1s; }
.equalizer span:nth-child(2) { height: 38px; animation-delay: .2s; }
.equalizer span:nth-child(3) { height: 52px; animation-delay: .3s; }
.equalizer span:nth-child(4) { height: 30px; animation-delay: .4s; }
.equalizer span:nth-child(5) { height: 44px; animation-delay: .5s; }

@keyframes equalize {
    0%, 100% { transform: scaleY(.45); opacity: .7; }
    50% { transform: scaleY(1); opacity: 1; }
}

.vinyl-wrap h1 {
    font-size: 44px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1.4px;
}

.vinyl-wrap p {
    color: rgba(255,255,255,0.72);
    font-size: 17px;
    line-height: 1.7;
    margin-top: 18px;
}

.login-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px;
}

.login-card {
    width: 100%;
    max-width: 430px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: var(--shadow);
    border-radius: 28px;
    padding: 34px;
}

.brand-mark {
    width: 64px;
    height: 64px;
    background: #111;
    color: #fff;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.16);
}

.brand-mark i {
    font-size: 30px;
}

.login-card h3 {
    font-weight: 800;
    margin-bottom: 6px;
}

.login-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.form-label {
    font-weight: 650;
    font-size: 13px;
    color: #222;
    margin-bottom: 8px;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
}

.input-icon .form-control {
    padding-left: 45px;
}

.form-control,
.form-select {
    min-height: 46px;
    border-radius: 14px;
    border: 1px solid #dedede;
    box-shadow: none !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #111;
}

.login-btn {
    min-height: 48px;
    border-radius: 14px;
    font-weight: 700;
}

.support-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}

.support-buttons .btn {
    border-radius: 14px;
    min-height: 44px;
    font-weight: 650;
}

.login-footer-text {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    margin-top: 20px;
}

.app-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 270px;
    background: #0b0b0b;
    color: #fff;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    padding: 22px;
    z-index: 1000;
    transition: .25s ease;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 22px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.09);
}

.sidebar-logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #fff;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.sidebar-brand h5 {
    margin: 0;
    font-weight: 800;
    font-size: 16px;
}

.sidebar-brand span {
    color: rgba(255,255,255,0.55);
    font-size: 12px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-menu a {
    color: rgba(255,255,255,0.72);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 13px;
    border-radius: 14px;
    font-weight: 650;
    transition: .2s ease;
}

.sidebar-menu a i {
    font-size: 18px;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    color: #111;
    background: #fff;
}

.main-content {
    margin-left: 270px;
    width: calc(100% - 270px);
    min-height: 100vh;
}

.topbar {
    height: 76px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 26px;
    position: sticky;
    top: 0;
    z-index: 900;
}

.menu-toggle {
    border: 1px solid var(--border);
    background: #fff;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: none;
    align-items: center;
    justify-content: center;
}

.topbar-title h4 {
    margin: 0;
    font-weight: 800;
    letter-spacing: -.4px;
}

.topbar-title span {
    color: var(--muted);
    font-size: 13px;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-user img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--border);
}

.page-content {
    padding: 26px;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.04);
    height: 100%;
}

.stat-card .icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.stat-card h3 {
    margin: 0;
    font-weight: 850;
    font-size: 28px;
}

.stat-card p {
    margin: 6px 0 0;
    color: var(--muted);
    font-weight: 650;
}

.content-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 35px rgba(0,0,0,0.04);
    overflow: hidden;
}

.content-card-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.content-card-header h5 {
    margin: 0;
    font-weight: 800;
}

.table {
    margin-bottom: 0;
}

.table th {
    font-size: 13px;
    color: #555;
    font-weight: 800;
    background: #fafafa;
    border-bottom: 1px solid var(--border);
}

.table td {
    vertical-align: middle;
    color: #222;
}

.btn {
    border-radius: 12px;
    font-weight: 650;
}

.empty-state {
    padding: 35px;
    text-align: center;
    color: var(--muted);
}

.empty-state i {
    font-size: 38px;
    color: #111;
    margin-bottom: 10px;
}

@media (max-width: 991px) {
    .login-page {
        grid-template-columns: 1fr;
    }

    .login-body {
        background: linear-gradient(135deg, #050505 0%, #151515 35%, #f4f4f4 35%, #ffffff 100%);
    }

    .login-panel {
        padding: 22px;
    }

    .login-card {
        padding: 26px;
        border-radius: 24px;
    }

    .sidebar {
        transform: translateX(-105%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .topbar {
        padding: 0 16px;
    }

    .topbar-title h4 {
        font-size: 18px;
    }

    .page-content {
        padding: 18px;
    }

    .support-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .topbar-user div {
        display: none;
    }

    .stat-card {
        padding: 18px;
    }

    .content-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
}