<style>
/* ==========================================
   CUSTOM DASHBOARD THEME
   ========================================== */

/* GENERAL BODY SETTINGS */
body {
  background-color: #f8f9fa !important; 
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  color: white;
  line-height: 1.6;
}



/* 🔹 Change entire page background */
body, html, #layoutSidenav_content {
  background-color: #f2f7fe !important; /* change this to any color you want */
  
}

/* Reduce sidebar font size */
.sb-sidenav .nav-link {
    font-size: 13px; /* smaller than default */
}

.sb-sidenav .sb-sidenav-menu-heading {
    font-size: 12px; /* smaller heading */
}

.sb-sidenav .sb-sidenav-menu-nested .nav-link {
    font-size: 12px; /* nested links slightly smaller */
}

.sb-sidenav-footer .small {
    font-size: 11px; /* reduce footer text */
}



/* ==========================================
   🌑 NAVBAR STYLING
   ========================================== */
.sb-topnav.navbar {
  background-color: #000 !important; 
  color: #ccc !important;
  border-bottom: 1px solid #1a1a1a;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
  transition: background-color 0.3s ease;
}

.sb-topnav .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.sb-topnav .navbar-brand img {
  width: 140px;
  height: auto;
  filter: brightness(1.2);
  transition: transform 0.3s ease;
}

.sb-topnav .navbar-brand img:hover {
  transform: scale(1.05);
}

.sb-topnav .nav-link {
  color: #ccc !important;
}

.sb-topnav .nav-link:hover {
  color: #fff !important;
}


/* ==========================================
   SIDEBAR STYLING
   ========================================== */
.sb-sidenav {
  background-color: #000 !important; /* pure deep black */
  color: #fff !important;
  box-shadow: inset -2px 0 8px rgba(0,0,0,0.8);
}

.sb-sidenav .sb-sidenav-menu-heading {
  color: #fff !important;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-top: 10px;
  padding-bottom: 5px;
}

.sb-sidenav .nav-link {
  color: #fff !important;
  padding: 10px 20px;
  border-left: 4px solid transparent;
  border-radius: 0;
  font-weight: 500;
  transition: all 0.3s ease;
}

.sb-sidenav .nav-link i {
  margin-right: 10px;
  font-size: 0.9rem;
  color: #fff !important; 
}

.sb-sidenav .nav-link:hover {
  background-color: #101010 !important;
  color: #ff3c3c !important; 
  border-bottom: 4px solid #ff3c3c;
  padding-left: 24px;
}

.sb-sidenav .nav-link.active {
  background-color: #111 !important;
  color: #fff !important;
  border-bottom: 4px solid #ff3c3c;
}





/* ==========================================
   💳 CARDS STYLING
   ========================================== */
.card {
  border: none;
  border-radius: 12px;
  margin-left: 28px;
  margin-right: 28px;
  margin-top: -15px;
  margin-bottom: 5px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

.card.bg-primary {
  background: linear-gradient(135deg, #007bff, #004a99);
}

.card.bg-warning {
  background: linear-gradient(135deg, #f8b400, #d48a00);
}

.card.bg-success {
  background: linear-gradient(135deg, #00b74a, #007e33);
}

.card.bg-danger {
  background: linear-gradient(135deg, #ff3c3c, #b30000);
}


/* =============================
   EXPLORE LINK STYLE
   ============================= */
.explore-link {
  text-align: center;
  margin: 25px 0;
}

.explore-link a {
  display: inline-block;
  background: linear-gradient(135deg, #ff3838, #cc0000); 
  color: #fff;
  font-weight: 500;
  font-size: 12px;
  text-decoration: none;
  padding: 10px 25px;
  border-radius: 30px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.explore-link a:hover {
  background: linear-gradient(135deg, #cc0000, #ff3838);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(255, 56, 56, 0.3);
}

/* 📱 Mobile responsiveness */
@media (max-width: 768px) {
  .explore-link a {
    font-size: 0.8rem;
    padding: 8px 18px;
  }
}

@media (max-width: 480px) {
  .explore-link a {
    font-size: 0.7rem;
    padding: 7px 16px;
  }
}


/* ==========================
    CUSTOM FOOTER
   ========================== */
.joinmic-footer {
  background-color: #f2f7fe !important;
  color: #ccc;
  text-align: center;
  border-top: 0.3px solid #000;
}

.joinmic-footer .footer-link {
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
}

.joinmic-footer .footer-link:hover {
  color: #000; 
  text-decoration: none;
}

.joinmic-footer .text-muted {
  color: #000 !important;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

/* 📱 Mobile responsiveness */
@media (max-width: 768px) {
  .joinmic-footer .text-muted {
    font-size: 0.7rem; 
    text-align: center; 
    padding: 2px 0; 
  }
}

@media (max-width: 480px) {
  .joinmic-footer .text-muted {
    font-size: 0.6rem; 
    letter-spacing: 0.3px; 
    padding: 1px 0;
  }
}


/* Optional – make footer always stick to bottom when content is short */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

.joinmic-footer {
  margin-top: auto;
}

/* ==========================================
   📱 RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 992px) {
  .sb-topnav .navbar-brand img {
    width: 120px;
  }

  .sb-sidenav .nav-link {
    font-size: 0.95rem;
  }

  .card {
    margin-bottom: 1rem;
  }
}

/* ==========================================
   ✨ SCROLLBAR TWEAK (optional)
   ========================================== */
.sb-sidenav::-webkit-scrollbar {
  width: 8px;
}

.sb-sidenav::-webkit-scrollbar-thumb {
  background-color: #222;
  border-radius: 4px;
}

.sb-sidenav::-webkit-scrollbar-thumb:hover {
  background-color: #444;
}
</style> 