/* Shivaji Maharaj (Bhagwa) Theme */

:root {
    --bhagwa-primary: #D4AF37;
    /* Base Gold */
    --bhagwa-gradient: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    /* Metallic Gold */
    --bhagwa-green-gradient: linear-gradient(135deg, #062711, #1A4D2E, #021206, #185E2A, #0A3C1A);
    /* Dark Metallic Green */
    --bhagwa-dark: #062711;
    /* Very Dark Green */
    --bhagwa-light: #0A3C1A;
    /* Dark Green */
    --bhagwa-accent: #D4AF37;
    /* Base Gold */
    --text-on-bhagwa: #ffffff;
}

/* Background for specific pages (Login/Register) */
body.inner_page.login {
    background: url('../images/shivaji_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Override Login Section Transparency for better visibility */
.login_section {
    background: rgba(255, 255, 255, 0.9);
    /* Slightly more opaque white */
    border-top: 5px solid var(--bhagwa-primary);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

/* Darker Text for Input Labels and General Text in Login/Register */
.login_form label,
.login_form p,
.login_form,
.login_form a {
    color: #000000 !important;
    font-weight: 500;
}

.login_form .main_bt {
    background: var(--bhagwa-gradient);
    border: 1px solid #D4AF37;
    color: #000;
    font-weight: bold;
}

.login_form .main_bt:hover {
    background: linear-gradient(135deg, #AA771C, #FBF5B7, #B38728, #FCF6BA, #BF953F);
    border: 1px solid #AA771C;
}

/* Text Highlights */
.text-primary,
a.text-primary {
    color: var(--bhagwa-dark) !important;
}

/* Dashboard Global Overrides */
/* Sidebar */
/* Sidebar */
#sidebar {
    background: var(--bhagwa-green-gradient);
    background-size: cover;
    background-position: center;
    border-right: 1px solid var(--bhagwa-light);
    color: #fff;
}

#sidebar ul li a {
    color: #fff !important;
}

#sidebar ul li a.active,
#sidebar ul li a:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    /* Semi-transparent white for hover/active */
    color: #fff !important;
    border-color: #fff !important;
}

#sidebar ul li a i {
    color: #fff;
    /* Icons white */
}

#sidebar .sidebar-header {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Topbar */
.topbar {
    background: var(--bhagwa-gradient) !important;
    /* Metallic Gold Topbar */
}

.icon_info ul.user_profile_dd>li {
    background: var(--bhagwa-gradient) !important;
    color: #000 !important;
}

.icon_info span.badge {
    background: var(--bhagwa-dark) !important;
    /* Green badge on gold */
}

/* Dashboard Widgets */
/* First Box (Total Agents) - Dark Bhagva */
.stat-card.gradient-warning {
    background: linear-gradient(45deg, #cc5200, #e65100);
}

/* Active Users - Dark Green */
.stat-card.gradient-success {
    background: linear-gradient(45deg, #1b5e20, #2e7d32);
}

/* Inactive Users - Red */
.stat-card.gradient-danger {
    background: linear-gradient(45deg, #FF0000, #ff5252);
}

/* Wallet - Zambhla (Purple) */
.stat-card.gradient-primary {
    background: linear-gradient(45deg, #800080, #9c27b0);
}

/* Total Earnings - Blue */
.stat-card.gradient-secondary {
    background: linear-gradient(45deg, #0000FF, #448aff);
}

/* Stats Card Text Styling */
.stat-card h3,
.stat-card p,
.stat-card i {
    color: #fff !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.page_title {
    background: var(--bhagwa-gradient);
    color: #000;
}

.page_title h2 {
    color: #000;
}

/* Buttons */
.btn-primary {
    background: var(--bhagwa-gradient);
    border-color: #D4AF37;
    color: #000 !important;
    font-weight: bold;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #AA771C, #FBF5B7, #B38728, #FCF6BA, #BF953F);
    border-color: #AA771C;
    color: #000 !important;
}