/* ===== GLOBAL FONT SETTINGS ===== */
body, input, select, textarea, button {
    font-family: 'Orbitron', sans-serif; /* Primary font for tech/spiritual feel */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rajdhani', 'Orbitron', sans-serif; /* Secondary, geometric font for headings */
    font-weight: 700;
    letter-spacing: 1px;
}

/* Optional: lighter headings or subtext */
p, label, span {
    font-family: 'Orbitron', sans-serif;
}

/* Navigation & Brand */
.navbar .brand-name {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}


/* ===== DASHBOARD BACKGROUND ===== */
.dashboard-bg {
    position: relative;
    min-height: 100vh;
    /* background: radial-gradient(circle at top, #0f1b3d, #050812 85%); */
    background-image: url('/images/spread-bg.png'); /* optional */
    background-position: center;
    background-size: cover;
    overflow-x: hidden;
  }
  
  .dashboard-bg::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 20, 40, 0.4);
    /* backdrop-filter: blur(3px); */
    z-index: 0;
  }
  
  /* Make sure all dashboard content sits above overlay */
  #dashboard > * {
    position: relative;
    z-index: 1;
  }
  
  /* ===== NAVBAR ===== */
  .custom-navbar {
    background: rgba(10, 20, 40, 0.9);
    border-bottom: 1px solid rgba(100, 150, 255, 0.2);
    padding: 15px 20px;
  }
  
  .navbar-logo {
    height: 50px;
    filter: drop-shadow(0 0 6px #4aa3ff);
  }
  
  .brand-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    color: #e0eaff;
    text-shadow: 0 0 10px #4aa3ff;
    font-weight: 700;
    letter-spacing: 1px;
  }
  
  /* ===== LOGOUT BUTTON ===== */
  .logout-btn {
    background: linear-gradient(90deg, #1e68f0, #4aa3ff);
    color: #fff;
    border: none;
    padding: 8px 20px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
  }
  
  .logout-btn:hover {
    background: linear-gradient(90deg, #4aa3ff, #1e68f0);
    box-shadow: 0 0 15px #4aa3ff;
  }
  
  /* ===== STATISTICS SECTION ===== */
  .stat-card {
    background: rgba(10, 25, 50, 0.8);
    border: 1px solid rgba(100, 150, 255, 0.2);
    color: #e0eaff;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px #4aa3ff66;
  }
  
  .stat-card h3 {
    font-size: 1.4rem;
    text-shadow: 0 0 8px #4aa3ff;
  }
  
  .stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4aa3ff;
    text-shadow: 0 0 10px #4aa3ff;
  }
  
  /* ===== ICONS IN STAT CARDS ===== */
  .icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74,163,255,0.15), rgba(74,163,255,0.05));
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(74,163,255,0.4);
    box-shadow: 0 0 15px rgba(74,163,255,0.3);
  }
  
  .icon-circle i {
    font-size: 2rem;
    color: #4aa3ff;
    text-shadow: 0 0 10px #4aa3ff;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
  }
  
  .stat-card:hover .icon-circle i {
    transform: scale(1.1);
    text-shadow: 0 0 20px #4aa3ff;
  }
  






















/* ===== Full Background for Donation Section ===== */
.donation-section {
    /* background: radial-gradient(circle at top, #0f1b3d, #050812 90%); */
    background-image: url('/images/spread-bg.png'); /* optional image */
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 80px 0;
    background-attachment: fixed;
  }
  
  .donation-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 50, 0.5);
    /* backdrop-filter: blur(2px); */
    z-index: 0;
  }
  
  /* Make content appear above overlay */
  .donation-section .container {
    position: relative;
    z-index: 1;
  }
  
  /* Card inside donation section */
  .donation-card {
    background: rgba(10, 25, 50, 0.188);
    border: 1px solid rgba(74, 163, 255, 0.3);
    backdrop-filter: blur(12px);
    color: #e0eaff;
    box-shadow: 0 0 25px rgba(74, 163, 255, 0.15);
    transition: all 0.3s ease;
  }
  
  .donation-card:hover {
    box-shadow: 0 0 35px rgba(74, 163, 255, 0.25);
  }
  
  /* Section Title */
  .section-title {
    color: #4aa3ff;
    text-shadow: 0 0 12px #4aa3ff;
    font-weight: 700;
    letter-spacing: 1px;
  }
  
  /* Input Styling */
  .input-glow {
    background: rgba(255, 249, 249, 0.05);
    border: 1px solid rgba(74, 163, 255, 0.4);
    color: #e0eaff !important;
    border-radius: 10px;
    padding: 10px 15px;
    transition: all 0.3s ease;
  }
  
  .input-glow:focus {
    outline: none;
    box-shadow: 0 0 12px #4aa3ff;
    border-color: #4aa3ff;
    background: rgba(255, 255, 255, 0.1);
  }


  
  
  /* Submit Button */
  .submit-btn {
    background: linear-gradient(90deg, #1e68f0, #4aa3ff);
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(74, 163, 255, 0.4);
  }
  
  .submit-btn:hover {
    background: linear-gradient(90deg, #4aa3ff, #1e68f0);
    box-shadow: 0 0 20px #4aa3ff;
  }




  
  @media (max-width: 768px) {
    .donation-list-section {
      background-image: url('/images/spread-mb.png') !important;
    }

    .dashboard-bg  {
      background-image: url('/images/spread-mb.png') !important;
    }

    .donation-section{
      background-image: url('/images/spread-mb.png') !important;
    }
  }





/* ===== Donation List Section ===== */
.donation-list-section {
  position: relative;
  padding: 80px 0;
  /* background: radial-gradient(circle at top, #0f1b3d, #050812 90%); */
  background-image: url('/images/spread-bg.png');
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
}

/* Overlay Layer */
.donation-list-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 50, 0.5); /* Soft dark blue overlay */
  /* backdrop-filter: blur(2px); optional subtle blur for glass look */
  z-index: 0;
}

/* Make inner content appear above overlay */
.donation-list-section .container {
  position: relative;
  z-index: 1;
}


.records-card {
  background: rgba(10, 25, 50, 0.312);
  border: 1px solid rgba(74, 163, 255, 0.3);
  backdrop-filter: blur(12px);
  color: #e0eaff;
  box-shadow: 0 0 25px rgba(74, 163, 255, 0.15);
  transition: all 0.3s ease;
}

.records-card:hover {
  box-shadow: 0 0 35px rgba(74, 163, 255, 0.25);
}

.donation-table th {
  color: #4aa3ff;
  text-shadow: 0 0 10px #4aa3ff;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  border-bottom: 2px solid rgba(74, 163, 255, 0.3);
}

.donation-table td {
  color: #e0eaff;
  font-family: 'Orbitron', sans-serif;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(74, 163, 255, 0.1);
}

.delete-btn {
  background: transparent;
  border: 1px solid rgba(255, 80, 80, 0.6);
  color: #ff5050;
  border-radius: 8px;
  padding: 5px 10px;
  transition: all 0.3s ease;
}

.delete-btn:hover {
  background: rgba(255, 80, 80, 0.1);
  box-shadow: 0 0 10px rgba(255, 80, 80, 0.4);
}
