/* ============================================================
   FONTS & VARIABLES
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Syne:wght@700;800&display=swap');

:root {
    --primary: #1a56db;
    --primary-dark: #1245b8;
    --accent: #f97316;
    --sidebar-width: 250px;
    --sidebar-bg: #0f172a;
    --sidebar-text: #94a3b8;
    --sidebar-active: #ffffff;
    --topbar-height: 60px;
    --body-bg: #f1f5f9;
    --card-bg: #ffffff;
}

/* ============================================================
   BASE
   ============================================================ */
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--body-bg);
    margin: 0;
}

h1, h2, h3, h4, h5, .brand {
    font-family: 'Syne', sans-serif;
}

/* ============================================================
   SHARED COMPONENTS
   ============================================================ */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid #f1f5f9;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e293b;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.badge-license {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-weight: 500;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.page-subtitle {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

/* ============================================================
   BRAND (shared between sidebar and public topbar)
   ============================================================ */
.brand {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.5px;
}

.brand span {
    color: var(--accent);
}


.brand-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

/* ============================================================
   UTILITY / SUBSCRIPTION CARD
   ============================================================ */
   .text-helper {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.text-muted-sm {
    font-size: 0.85rem;
    color: #94a3b8;
}

.stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}