/* ===== CSS THEME ROOT ===== */
:root {
  --bg-deep: #071a27;
  --bg-ice:  #0e6b88;
  --ice-frost: #8fe6ff;
  --eye-ice: #bff3ff;
  --teal: #66d0e8;
  --spark-warm: #ffd39f;
  --spark-core: #ffd96a;
  --skin-light: #f6ded4;
  --skin-mid: #e6c7bc;
  --lip-rose: #d7838a;
  --hair-dark: #10131a;
  --lace: #ffffffcc;
  --snow: #eaf6ff;

  --glow-strong: 0 10px 30px rgba(102,208,232,0.25);
  --glow-soft: 0 6px 18px rgba(143,230,255,0.08);
  --font-sans: "Poppins", system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background: linear-gradient(180deg, var(--bg-ice), var(--bg-deep));
  color: white;
  overflow-x: hidden;
  scroll-behavior: smooth;
  min-height: 100vh;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: var(--teal);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--glow-strong);
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: var(--ice-frost);
    color: var(--bg-deep);
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
} 

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: linear-gradient(180deg, var(--bg-ice), var(--bg-deep));
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.3);
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 20px;
    background: rgba(7, 26, 39, 0.95);
    border-bottom: 1px solid rgba(143,230,255,0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-header .logo {
    margin-bottom: 0;
    text-align: left;
}

.sidebar-header .logo h2 {
    font-size: 1rem;
    color: var(--ice-frost);
    margin: 10px 0 0 0;
}

.sidebar-close {
    background: none;
    border: none;
    color: var(--ice-frost);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.sidebar-close:hover {
    color: var(--spark-warm);
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: var(--snow);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background: rgba(143,230,255,0.1);
    border-left-color: var(--ice-frost);
    color: var(--ice-frost);
}

.sidebar-link i {
    width: 25px;
    margin-right: 15px;
    font-size: 1.2rem;
}

.sidebar-link.login-btn {
    background: rgba(143,230,255,0.2);
    border: 1px solid var(--ice-frost);
    margin: 20px 25px;
    border-radius: 10px;
    color: var(--ice-frost);
    font-weight: bold;
}

.sidebar-link.login-btn:hover {
    background: var(--ice-frost);
    color: var(--bg-deep);
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(143,230,255,0.2);
    margin-top: auto;
}

.sidebar-footer .social-links {
    justify-content: center;
}

/* Common Container Styles */
.auth-container, .admin-container, .user-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.form-container {
  background: rgba(255,255,255,0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--glow-strong);
  width: 100%;
  max-width: 450px;
  border: 1px solid rgba(143,230,255,0.2);
} 

/* Logo Styles */
.logo {
  text-align: center;
  margin-bottom: 30px;
}

.logo-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--ice-frost), var(--teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--bg-deep);
  margin: 0 auto 15px;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  color: var(--snow);
  font-weight: 500;
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  color: white;
  outline: none;
  font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--ice-frost);
}

input::placeholder, textarea::placeholder {
  color: rgba(255,255,255,0.7);
}

/* Button Styles */
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-family: var(--font-sans);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--bg-ice));
  color: white;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--spark-warm), var(--spark-core));
  color: var(--bg-deep);
}

.btn-accent {
  background: linear-gradient(135deg, var(--ice-frost), var(--teal));
  color: var(--bg-deep);
}

.btn-danger {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
}

.btn-success {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Alert Styles */
.alert {
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 500;
}

.alert-success {
  background: rgba(40, 167, 69, 0.2);
  border: 1px solid #28a745;
  color: #6aff87;
}

.alert-error {
  background: rgba(220, 53, 69, 0.2);
  border: 1px solid #dc3545;
  color: #ff6b7a;
}

.alert-info {
  background: rgba(23, 162, 184, 0.2);
  border: 1px solid #17a2b8;
  color: #6effff;
}

/* Link Styles */
.links {
  text-align: center;
  margin-top: 20px;
}

.links a {
  color: var(--ice-frost);
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s;
  display: block;
  margin-bottom: 10px;
}

.links a:hover {
  color: var(--spark-warm);
  text-decoration: underline;
}

/* Badge Styles */
.badge {
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 10px;
}

.badge-admin {
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  color: white;
}

.badge-member {
  background: linear-gradient(135deg, var(--teal), var(--bg-ice));
  color: white;
}

/* Security Note */
.security-note {
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid #ffc107;
  border-radius: 10px;
  padding: 15px;
  margin-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}

.security-note i {
  color: #ffc107;
  margin-right: 5px;
}

/* Dashboard Styles */
.dashboard-header {
  background: rgba(7, 26, 39, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  border-bottom: 1px solid rgba(143,230,255,0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
} 

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.dashboard-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.dashboard-nav a {
  color: var(--snow);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 5px;
  transition: background 0.3s;
}

.dashboard-nav a:hover, .dashboard-nav a.active {
  background: rgba(143,230,255,0.2);
}

.dashboard-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}

/* Admin Navigation */
.admin-nav {
  background: rgba(255,255,255,0.05);
  padding: 15px 20px;
  border-bottom: 1px solid rgba(143,230,255,0.2);
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.nav-btn {
  padding: 10px 20px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 8px;
  color: var(--snow);
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.nav-btn:hover {
  background: rgba(143,230,255,0.2);
}

.nav-btn.active {
  background: var(--teal);
  color: var(--bg-deep);
  font-weight: bold;
}

/* Tab Content */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: rgba(255,255,255,0.05);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(143,230,255,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-strong);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--ice-frost);
  margin-bottom: 10px;
}

.stat-label {
  color: var(--snow);
  font-size: 1rem;
}

.stat-icon {
  font-size: 2rem;
  color: var(--ice-frost);
  margin-bottom: 15px;
}

/* Table Styles */
.table-container {
  background: rgba(255,255,255,0.05);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  border: 1px solid rgba(143,230,255,0.2);
}

.table-title {
  color: var(--ice-frost);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--teal);
  padding-bottom: 10px;
  font-size: 1.5rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

th, td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

th {
  background: rgba(143,230,255,0.1);
  color: var(--ice-frost);
  font-weight: 600;
}

/* Form Styles in Dashboard */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  overflow: auto; /* Allow page to scroll if modal content exceeds viewport */
} 

.modal-content {
  background: linear-gradient(135deg, var(--bg-ice), var(--bg-deep));
  margin: 5% auto;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  max-height: 85vh; /* Limit height so the modal fits on-screen */
  overflow-y: auto; /* Scroll inside modal when content is tall */
  border: 1px solid rgba(143,230,255,0.2);
  position: relative;
}

.close {
  color: var(--snow);
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 15px;
}

.close:hover {
  color: var(--ice-frost);
}

/* Small helpers for action buttons */
.action-group { display: flex; gap: 8px; align-items: center; }
.btn-edit i, .btn-delete i { margin-right: 6px; }
.btn-edit { background: linear-gradient(90deg, #0ea5b7, #ffc107); color: #07202a; }
.btn-delete { background: linear-gradient(90deg, #ff4d4f, #d9363e); color: #fff; }
.btn-edit:hover { opacity: 0.95; }
.btn-delete:hover { opacity: 0.95; }

/* Content Grid for Member Dashboard */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.content-section {
  background: rgba(255,255,255,0.05);
  padding: 25px;
  border-radius: 15px;
  border: 1px solid rgba(143,230,255,0.2);
}

/* List Styles for Member Dashboard */
.list-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.list-item:last-child {
  border-bottom: none;
}

.item-icon {
  width: 40px;
  height: 40px;
  background: rgba(143,230,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ice-frost);
}

.item-content h4 {
  color: var(--ice-frost);
  margin-bottom: 5px;
}

.item-content p {
  color: var(--snow);
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.news-category {
  background: var(--teal);
  color: var(--bg-deep);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 5px;
}

/* Leader Cards for Member Dashboard */
.leader-card-small {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid rgba(143,230,255,0.1);
}

.leader-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--teal), var(--bg-ice));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.leader-info-small h4 {
  color: var(--ice-frost);
  margin-bottom: 5px;
}

.leader-position {
  color: var(--spark-warm);
  font-weight: bold;
  margin-bottom: 5px;
}

.leader-info-small p {
  color: var(--snow);
  font-size: 0.9rem;
}

/* ===== MAIN WEBSITE STYLES ===== */

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at top, rgba(143,230,255,0.15), transparent 60%),
              linear-gradient(180deg, var(--bg-ice), var(--bg-deep));
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
}

.snow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, var(--snow) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.2;
  animation: fall 20s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes fall {
  from { transform: translateY(-100%); }
  to { transform: translateY(100%); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--ice-frost);
  text-shadow: 0 0 20px rgba(143,230,255,0.6),
               0 0 40px rgba(255,210,120,0.4);
  animation: glow 3s ease-in-out infinite alternate;
  margin-bottom: 20px;
}

@keyframes glow {
  from { text-shadow: 0 0 15px var(--ice-frost); }
  to { text-shadow: 0 0 30px var(--spark-warm); }
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--snow);
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Section Styles */
.section-padding {
  padding: 80px 20px;
}

.bg-light {
  background: rgba(255,255,255,0.03);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  color: var(--ice-frost);
  text-align: center;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--ice-frost), var(--teal));
  border-radius: 2px;
}

/* Grid Layouts */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(143,230,255,0.2);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--glow-strong);
  background: rgba(255,255,255,0.08);
}

.feature-icon {
  font-size: 3rem;
  color: var(--ice-frost);
  margin-bottom: 20px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  background: rgba(255,255,255,0.05);
  padding: 25px;
  border-radius: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(143,230,255,0.1);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-strong);
  background: rgba(255,255,255,0.08);
}

.value-icon {
  font-size: 2.5rem;
  color: var(--ice-frost);
  margin-bottom: 15px;
}

.leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.leader-card {
  background: rgba(255,255,255,0.05);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(143,230,255,0.1);
}

.leader-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--glow-strong);
}

.leader-image {
  height: 200px;
  background: linear-gradient(135deg, var(--teal), var(--bg-ice));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
}

.leader-info {
  padding: 20px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.news-card {
  background: rgba(255,255,255,0.05);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(143,230,255,0.1);
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--glow-strong);
}

.news-image {
  height: 200px;
  background: linear-gradient(135deg, var(--spark-warm), var(--spark-core));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--bg-deep);
}

.news-content {
  padding: 20px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.news-badge {
  background: var(--teal);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.news-date {
  color: var(--snow);
  font-size: 0.8rem;
}

/* Countdown Styles */
.countdown-card {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(143,230,255,0.2);
  max-width: 600px;
  margin: 0 auto 40px;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.countdown-item {
  text-align: center;
}

.countdown-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--ice-frost);
  margin-bottom: 5px;
}

.countdown-label {
  font-size: 0.8rem;
  color: var(--snow);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Contact Styles */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: rgba(255,255,255,0.05);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(143,230,255,0.1);
}

.contact-icon {
  font-size: 2rem;
  color: var(--ice-frost);
  margin-bottom: 15px;
}

.contact-form {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(143,230,255,0.2);
}

/* CTA Section */
.cta-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--bg-ice), var(--bg-deep));
  text-align: center;
}

.cta-subtitle {
  font-size: 1.3rem;
  color: var(--snow);
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer Styles */
footer {
  background: var(--bg-deep);
  padding: 50px 20px 20px;
  border-top: 1px solid rgba(143,230,255,0.2);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h4 {
  color: var(--ice-frost);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-section a {
  color: var(--snow);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--ice-frost);
}

.footer-section p {
  color: var(--snow);
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  color: var(--snow);
  text-decoration: none;
}

.social-links a:hover {
  background: var(--ice-frost);
  color: var(--bg-deep);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--snow);
  font-size: 0.9rem;
}

/* Notification Styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 10px;
  color: white;
  z-index: 10000;
  background: var(--teal);
  box-shadow: var(--glow-strong);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  max-width: 300px;
}

.notification.success {
  background: var(--teal);
}

.notification.error {
  background: #dc3545;
}

.notification.show {
  transform: translateX(0);
}

/* Loading Spinner */
.loading {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: var(--ice-frost);
  animation: spin 1s ease-in-out infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Ripple Effect */
@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-btn {
      display: flex;
  }
  
  .dashboard-nav {
      display: none !important;
  }
  
  .nav-container {
      justify-content: center;
  }
  
  .logo h2 {
      font-size: 1rem;
      text-align: center;
  }

  .form-container {
    padding: 25px;
    margin: 10px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-padding {
    padding: 60px 20px;
  }
  
  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .countdown-timer {
    flex-wrap: wrap;
  }
  
  .feature-grid,
  .values-grid,
  .leaders-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-nav {
    flex-wrap: wrap;
  }
  
  .modal-content {
    margin: 10% auto;
    width: 95%;
    padding: 20px;
    max-height: 85vh; /* keep mobile modals from overflowing */
    overflow-y: auto;
  }
}

@media (max-width: 480px) {
  .sidebar {
      width: 280px;
  }
  
  .mobile-menu-btn {
      top: 15px;
      right: 15px;
      width: 45px;
      height: 45px;
      font-size: 1.3rem;
  }
}

/* Responsive Table to Cards */
@media screen and (max-width: 600px) {
  /* Hide table header */
  table thead {
    display: none;
  }

  table, table tbody, table tr, table td {
    display: block;
    width: 100%;
  }

  table tr {
    margin-bottom: 15px;
    border: 1px solid rgba(143,230,255,0.06);
    background: linear-gradient(180deg, rgba(13,59,76,0.9), rgba(5,36,45,0.9));
    border-radius: 8px;
    padding: 10px;
  }

  table td {
    text-align: right;
    padding-left: 50%;
    position: relative;
    border: none;
    min-height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Add labels before the data */
  table td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    width: 45%;
    font-weight: 700;
    text-align: left;
    color: #ffc107; /* Gold color for labels */
  }

  /* Make the action buttons bigger for fingers */
  .btn-edit, .btn-delete {
    padding: 10px 14px;
    font-size: 14px;
    margin-left: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .action-group { display: flex; gap: 8px; }
  .tab-content > .btn { margin-bottom: 10px; margin-right: 8px; }
  .table-container { overflow: visible; }
}

/* Modal tweak for very small screens */
@media screen and (max-width: 480px) {
  .modal-content { width: 95%; max-height: 90vh; margin: 20px auto; padding: 16px; }
} 