body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #fff;
}

.logo{
    height: 40px;
    width: auto;
    transform: scale(1.5);
    transform-origin: center;
   margin-left: 20px;
}

/* Top Bar */
.top-bar {
  background-color: #2563eb;
  color: white;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
#messagebox{
    border-radius: 10px;
}
.title {
  font-size: 20px;
  font-weight: bold;
}
.top-icon {
  width: 24px;
  height: 24px;
}

/* User Info */
.user-info {
  margin: 16px;
  padding: 16px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.username {
  font-size: 18px;
  font-weight: bold;
}
.user-details {
  font-size: 14px;
  color: #4b5563;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  font-size: 15px;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  border: 2px solid #60a5fa;
}

/* Scroll Banners */
.scroll-banner {
  margin: 0 16px;
  margin-top: 16px;
  overflow-x: auto;
}
.banner-row {
  display: flex;
  gap: 12px;
  width: max-content;
  
}
.banner {
  width: 256px;
  height: 112px;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  background-color: white;
 color: #8b5cf6;
 border: 2px solid #e9f65c;
  box-shadow: 0 0 10px #c549ea;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 16px;
}
.action-card {
  color: white;
  padding: 16px;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-weight: bold;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;

}
.card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 8px;
}
.blue {
 background-color: white;
 color: #4A90E2;
 border: 2px solid #4A90E2;
 box-shadow: 0 0 10px #4A90E2;
}
.sky {
  background-color: white;
 color: #50C878;
 border: 2px solid #50C878;
  box-shadow: 0 0 10px #50C878;
}
.purple {
 background-color: white;
 color: #4A90E2;
 border: 2px solid #4A90E2;
  box-shadow: 0 0 10px #4A90E2;
}
.green {
 background-color: white;
 color: #50C878;
 border: 2px solid #50C878;
  box-shadow: 0 0 10px #50C878;
}
.red{
  background-color: white;
 color: #4A90E2;
 border: 2px solid #4A90E2;
  box-shadow: 0 0 10px #4A90E2;
}
.zing{
  background-color: white;
 color: #50C878;
 border: 2px solid #50C878;
  box-shadow: 0 0 10px #50C878;
}
.ping{
  background-color: white;
 color: #4A90E2;
 border: 2px solid #4A90E2;
  box-shadow: 0 0 10px #4A90E2;
}

/* Promo Box */
.promo-box {
  margin: 8px 16px;
  padding: 12px;
  background-color: #eff6ff;
  border-left: 4px solid #3b82f6;
  border-radius: 12px;
  color: #1e3a8a;
  font-size: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* Footer Nav */
.footer-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: white;
  border-top: 1px solid #e5e7eb;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
  padding: 8px 0;
  display: flex;
  justify-content: space-around;
  font-size: 12px;
  color: #374151;
}
.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.nav-link.active {
  color: #2563eb;
}
.nav-icon {
  width: 20px;
  height: 20px;
  margin-bottom: 4px;
}

/* Copyright */
.copyright {
  text-align: center;
  font-size: 13px;
  color: #6b7280;
  padding: 10px 0;
  background-color: #f9f9f9;
  margin-top: 10px;
  font-family: sans-serif;

}
main{
    padding-bottom: 80px;
}

.twelve, .thirteen, .fourteen {
  background-color: #f4f7fc;
  padding: 20px;
  margin-top: 30px;
  text-align: center;
  border-top: 2px solid #0077ff;
}

.twelve h2 {
  font-size: 22px;
  color: #0077ff;
  margin-bottom: 10px;
}

.twelve p {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}

.thirteen h3 {
  font-size: 18px;
  color: #0077ff;
  margin-bottom: 10px;
}

.thirteen ul {
  list-style: none;
  padding: 0;
}

.thirteen li {
  margin: 6px 0;
}

.thirteen a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
}

.thirteen a:hover {
  color: #0077ff;
}

.fourteen p {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
}
/* --- Loader Styles --- */
#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* You can change this to rgba(255,255,255,0.7) for transparency */
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Add this new rule to the end of home.css */
