:root {
    --bg: #020611;
    --bg-soft: rgba(10, 16, 39, 0.9);
    --card-border: rgba(255, 255, 255, 0.08);
    --text: #f5f7ff;
    --muted: #8a9ecc;
    --primary: #1db954;
    --primary-dark: #12a347;
}

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

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top right, rgba(29, 185, 84, 0.15), transparent 40%),
        radial-gradient(circle at bottom left, rgba(29, 185, 84, 0.08), transparent 45%),
        linear-gradient(135deg, #020b1b, #020b1b 45%, #050f2d 100%);
    min-height: 100vh;
}

.page-shell {
    min-height: 100vh;
    padding: 2rem 1rem 3rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: transparent;
}

a {
    color: var(--primary);
}

.card {
    background: var(--bg-soft);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(5, 10, 25, 0.45);
    color: var(--text);
}

.card-header {
    border-bottom: none;
    background: transparent;
}

.form-control {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    color: var(--text);
    padding: 0.85rem 1rem;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    box-shadow: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 30px rgba(18, 163, 71, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), #0e7c38);
}

.btn-outline-light {
    border-radius: 999px;
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--text);
    padding: 0.7rem 1.4rem;
}

.auth-card {
    width: min(420px, 100%);
    padding: 2rem;
    text-align: left;
}

.auth-header h4 {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.auth-paper {
    width: min(480px, 100%);
    border-radius: 28px;
    padding: 2.5rem;
    background: rgba(5, 11, 28, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55);
}

.auth-switch {
    margin-bottom: 1.5rem;
}

.auth-switch .btn {
    width: 125px;
    border-radius: 999px;
}

.dashboard-shell {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.table thead th {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.table {
    color: var(--text);
}

.table-responsive {
    border-radius: 16px;
    overflow: hidden;
}

.badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
    border-radius: 100px;
}

.badge.bg-success {
    background: rgba(29, 185, 84, 0.25);
    color: var(--primary);
}

.badge.bg-warning {
    background: rgba(255, 195, 0, 0.25);
    color: #f5c453;
}

.badge.bg-danger {
    background: rgba(255, 99, 99, 0.25);
    color: #ff8b9e;
}

.badge.bg-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.text-muted {
    color: var(--muted) !important;
}

.btn-link {
    color: var(--primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.pricing-card {
    background: var(--bg-soft);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease, border-color 0.25s ease;
    padding: 1.5rem;
    min-height: 360px;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(29, 185, 84, 0.35);
}

.price-tag {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.pricing-card ul li {
    color: var(--text);
}
