/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@500;600;700&display=swap');

:root {
    --tm-primary: #FFD322;
    --tm-primary-hover: #e6bd1f; /* Thoda dark yellow hover ke liye */
    --tm-secondary: #16233f;
    --tm-bg: #FFFDF8; /* Soft warm background */
    --tm-text: #2B1210;
}

body {
    background-color: var(--tm-bg);
    color: var(--tm-text);
    font-family: 'Inter', sans-serif;
}

/* Typography Classes */
.font-poppins {
    font-family: 'Poppins', sans-serif;
}
.text-tm-secondary {
    color: var(--tm-secondary) !important;
}

/* Button Overrides */
.btn-primary {
    background-color: var(--tm-primary);
    border-color: var(--tm-primary);
    color: var(--tm-text); /* Yellow button par dark text acha lagta hai */
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--tm-primary-hover);
    border-color: var(--tm-primary-hover);
    color: var(--tm-text);
}

/* Input Fields Overrides */
.form-control:focus {
    border-color: var(--tm-primary);
    box-shadow: 0 0 0 0.25rem rgba(255, 211, 34, 0.3);
}

/* Custom UI Effects */
.glass-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(116, 7, 4, 0.08);
}

.hover-elevate {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-elevate:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(116, 7, 4, 0.1) !important;
}

/* =========================================
   DASHBOARD SPECIFIC STYLES
========================================= */

/* Top Navigation */
.dashboard-navbar {
    background-color: var(--tm-secondary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.navbar-brand-tm {
    color: var(--tm-primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    letter-spacing: 0.5px;
}
.navbar-brand-tm:hover {
    color: var(--tm-primary-hover);
}

/* User Avatar Profile */
.avatar-circle {
    width: 42px;
    height: 42px;
    background-color: var(--tm-primary);
    color: var(--tm-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

/* Stat Cards */
.stat-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background-color: rgba(255, 211, 34, 0.15);
    color: var(--tm-secondary);
}

/* Custom Interactive Table */
.table-custom {
    vertical-align: middle;
}
.table-custom thead th {
    background-color: #F8F9FA;
    color: #6C757D;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    border-bottom: none;
}
.table-custom tbody tr {
    cursor: pointer;
    transition: all 0.2s ease;
}
.table-custom tbody tr:hover {
    background-color: rgba(255, 211, 34, 0.08) !important;
}
.table-custom td {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Level Badges */
.badge-level {
    padding: 0.35em 0.8em;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}
.level-platinum { background: #EAF1FB; color: #3E6BB8; }
.level-gold     { background: #FCF3DA; color: #B8860B; }
.level-silver   { background: #EEF0F2; color: #6B7280; }
.level-bronze   { background: #F7E9DE; color: #A0603A; }