/* --- 1. FONTS & GLOBAL --- */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;800&display=swap');

body, .content-wrapper {
    font-family: 'Nunito', sans-serif !important;
    background-color: #f0f9ff !important;
}

/* --- 2. LAYOUT SPACING (Left & Right) --- */
.content-wrapper > .content {
    padding-left: 30px !important;
    padding-right: 30px !important;
}

/* --- 3. CUTE CARD SYSTEM (No Hover Effect) --- */
.card, .cute-card {
    border-radius: 30px !important;
    box-shadow: 0 10px 0px rgba(0,0,0,0.05) !important;
    overflow: hidden;
    border: none !important;
    position: relative;
    background: white;
}

/* --- 4. PASTEL THEME COLORS --- */
.bg-pastel-blue   { background-color: #ebf1ff !important; color: #788bff !important; }
.bg-pastel-pink   { background-color: #fff0f3 !important; color: #ff8fa3 !important; }
.bg-pastel-mint   { background-color: #e6fffa !important; color: #38b2ac !important; }
.bg-pastel-orange { background-color: #fff8eb !important; color: #f6ad55 !important; }

.icon-circle {
    width: 75px;
    height: 75px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    background: white;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    margin-bottom: 15px;
    border: 3px solid #ffffff;
}

/* --- 5. TEXT & HEADERS --- */
.welcome-header {
    background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* --- 6. SIDEBAR NAVIGATION (Indigo/Purple) --- */
.main-sidebar {
    width: 270px;
    background-color: #ffffff !important;
    border-right: 2px solid #eef2f7;
}

.nav-sidebar .nav-item .nav-link {
    border-radius: 15px !important;
    margin: 5px 12px;
    font-weight: 700;
    color: #4a5568 !important;
}

.nav-sidebar .nav-item .nav-link.active {
    background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%) !important;
    color: white !important;
    box-shadow: 0 8px 15px rgba(110, 142, 251, 0.3);
}

/* --- 7. TOP NAV & TAB LINKS (Pink Ambient) --- */
.navbar-nav .nav-link, 
.nav-pills:not(.nav-sidebar) .nav-link {
    border-radius: 15px !important;
    font-weight: 700 !important;
    padding: 10px 20px !important;
    color: #ff8fa3 !important;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.navbar-nav .nav-link:hover, 
.nav-pills:not(.nav-sidebar) .nav-link.active,
.nav-pills:not(.nav-sidebar) .nav-link:hover {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%) !important;
    color: white !important;
    box-shadow: 0 5px 12px rgba(255, 154, 158, 0.2);
}

/* --- 8. BUTTONS (Indigo Theme) --- */
.btn-default, 
.btn-primary, 
.btn-link, 
.dt-buttons .btn {
    border-radius: 15px !important;
    font-weight: 800 !important;
    border: none !important;
    padding: 10px 20px !important;
    background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%) !important;
    color: white !important;
    display: inline-block;
    text-decoration: none !important;
    margin: 5px !important; 
}

/* --- 9. LOGIN PAGE --- */
.login-box { width: 380px !important; }
.login-box .login-logo img {
    max-width: 150px !important;
    height: auto !important;
    margin-bottom: 10px;
}

/* --- 10. PAGINATION & CHARTS --- */
.pagination > li > a {
    border-radius: 12px !important;
    margin: 0 4px;
    border: none !important;
    background: #fff;
    color: #6e8efb !important;
}

.pagination > .active > a {
    background: #6e8efb !important;
    color: white !important;
}

.chart-container {
    background: white;
    border-radius: 40px;
    padding: 30px;
    border: 6px solid #fdf2f2;
}

/* --- 11. DROPDOWN STYLING --- */
.dropdown-menu {
    border-radius: 20px !important;
    border: none !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
    padding: 10px !important;
    margin-top: 10px !important;
    overflow: hidden;
}

.dropdown-item {
    border-radius: 12px !important;
    padding: 10px 15px !important;
    font-weight: 600 !important;
    color: #4a5568 !important;
    transition: all 0.2s ease;
}

/* Pink Hover for Dropdown Items */
.dropdown-item:hover {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%) !important;
    color: white !important;
    transform: translateX(5px); /* Slight slide-in effect */
}

@media (min-width: 992px) {
    .content-wrapper, .main-footer, .main-header { margin-left: 270px; }
}