/* ===== CSS Global Style Optimized ===== */

/* ===== Root Variables ===== */
:root {
  --primary:#081c3c;
  --secondary:#005b9e;
  --background: linear-gradient(to bottom, #081c3c, #005b9e, #00f0ff);
  --light-blue: #ffffff;
  --text: #2E3C54;
  --white: #FFFFFF;
  
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 80px;
  background: url("../img/background.png") no-repeat center center fixed;
  background-size: cover;
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
}

/* ===== Logo Tegar ===== */
  .logo-img {
    height: 40px;
    width: auto;
    border-radius: 6px;
  }
/* ===== Navbar Glowing Neon ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: rgba(0, 0, 0, 0.331);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 1000;
  color: var(--white);
  border-bottom: 2px solid rgba(0, 255, 255, 0.4);
  box-shadow:
    0 2px 10px rgba(0, 255, 255, 0.1),
    0 4px 20px rgba(0, 255, 106, 0.2),
    0 6px 30px rgba(0, 255, 255, 0.3);
}



.brand {
  font-weight: 700;
  font-size: 1.2rem;
  color: #FFFFFF;
    text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.6), /* bayangan gelap lembut */
    0 0 6px rgb(0, 0, 0);   /* efek tambahan glow ringan */
    
  user-select: none;
}

/* ===== Links ===== */
.nav-links {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.nav-links a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s ease;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.6), /* bayangan gelap lembut */
    0 0 6px rgb(0, 0, 0);   /* efek tambahan glow ringan */
    
}
.nav-links a:hover {
   color: #08ff19;
    text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.6), /* bayangan gelap lembut */
    0 0 6px rgb(0, 0, 0);   /* efek tambahan glow ringan */
  transform: scale(1.05);
}
/* ===== Burger Glowing ===== */
.burger {
  display: none;
  width: 26px;
  height: 22px;
  position: relative;
  cursor: pointer;
  z-index: 1100;
}
.burger span {
  background: #ffffff;
  position: absolute;
  height: 3px;
  width: 100%;
  border-radius: 3px;
  left: 0;
  transition: 0.3s ease;
  box-shadow: 0 0 6px #00ffff;
    text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.6), /* bayangan gelap lembut */
    0 0 6px rgb(0, 0, 0);   /* efek tambahan glow ringan */
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.burger span:nth-child(3) { bottom: 0; }

nav.active .burger span:nth-child(1) {
  transform: rotate(45deg);
  top: 50%;
}
nav.active .burger span:nth-child(2) {
  opacity: 0;
}
nav.active .burger span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 50%;
}

.nav-links a {
  color: #ffffff;
   font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s ease;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.6), /* bayangan gelap lembut */
    0 0 6px rgb(0, 0, 0);   /* efek tambahan glow ringan */
}

/* Ini override styling khusus Login/Logout aja */
.nav-links a.logout-link {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s ease;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.6), /* bayangan gelap lembut */
    0 0 6px rgb(0, 0, 0);   /* efek tambahan glow ringan */
}

.nav-links a.logout-link:hover {
  color: #ff0000;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.6), /* bayangan gelap lembut */
    0 0 6px rgb(0, 0, 0);   /* efek tambahan glow ringan */
}


.nav-links a.login-link {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s ease;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.6), /* bayangan gelap lembut */
    0 0 6px rgb(0, 0, 0);   /* efek tambahan glow ringan */
}

.nav-links a.login-link:hover {
  color: #11ff00;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.6), /* bayangan gelap lembut */
    0 0 6px rgb(0, 0, 0);   /* efek tambahan glow ringan */
}

/* ===== Mobile Nav ===== */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 60px;
    right: 0;
    width: 200px;
    height: calc(100vh - 60px);
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.2rem;
    gap: 1.5rem;
    background: rgba(0, 15, 30, 0.85);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1050;
    border-left: 2px solid rgba(0, 255, 255, 0.2);
    box-shadow: -4px 0 15px rgba(0, 255, 255, 0.2);
  }

  nav.active .nav-links {
    transform: translateX(0);
  }

  .burger {
    display: block;
  }

  .nav-links a {
    font-size: 1.1rem;
    color: #ffffff;
    text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.6), /* bayangan gelap lembut */
    0 0 6px rgb(0, 0, 0);   /* efek tambahan glow ringan */
  }

  .nav-links a:hover {
    color: #08ff19;
    text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.6), /* bayangan gelap lembut */
    0 0 6px rgb(0, 0, 0);   /* efek tambahan glow ringan */
  }
}




/* ===== Hero ===== */
.hero {
  position: relative;
  color: var(--white);
  padding: 2rem 2rem 6rem;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease-out;
  color: #ffffff; /* putih bersih untuk kontras tinggi */
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.6), /* bayangan gelap lembut */
    0 0 6px rgb(0, 0, 0);   /* efek tambahan glow ringan */
    
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 600;
  color: #ffffff; /* soft white-blue */
  animation: fadeInUp 1.2s ease-out;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.6), /* bayangan gelap lembut */
    0 0 6px rgb(0, 0, 0);   /* efek tambahan glow ringan */
}

.hero small {
  display: block;
  margin-top: 1rem;
  font-size: 1rem;
  color: #ffffff; /* sedikit lebih muda agar kontras */
  font-weight: 500;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.6), /* bayangan gelap lembut */
    0 0 6px rgb(0, 0, 0);   /* efek tambahan glow ringan */
}



/* Hero Animations */
@keyframes fadeInDown {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeInUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ===== Info Section ===== */
.info {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1rem;
  background: var(--light-blue);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,191,255,0.15);
  text-align: center;
}
.info h2 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 2rem;
}


/* ===== Cards Transparan Elegan ===== */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.card {
  background-color: rgba(0, 20, 40, 0.45); /* transparan gelap */
  border: 1px solid rgba(0, 255, 255, 0.15);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow:
    0 8px 18px rgba(0, 255, 170, 0.363),
    0 0 20px rgba(0, 255, 179, 0.274);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  color: #ffffff;
  text-shadow: 0 1px 3px rgb(0, 0, 0); /* kontras bayangan gelap */
  backdrop-filter: blur(10px);
  font-weight: 600; /* ditebalkan global */
}

.card:hover {
  transform: translateY(-10px);
 box-shadow: 0 20px 40px rgb(5, 251, 226);
}

.card h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); /* shadow gelap */
}

.card a,
.card button {
  background: rgba(0, 255, 123, 0.1);
  color: #ffffff;
  padding: 0.75rem 1.6rem;
  border: 1px solid rgba(0, 255, 255, 0.5);
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  backdrop-filter: blur(6px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 10px rgba(2, 255, 255, 0.516);
}

.card a:hover,
.card button:hover {
  background: rgba(0, 255, 255, 0.3);
  color: #ffffff;
  border-color: #00ffc3;
  box-shadow:
    0 0 16px rgba(0, 255, 255, 0.5),
    0 0 24px rgba(0, 255, 255, 0.3);
}

.card button[disabled] {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: not-allowed;
  text-shadow: none;
  box-shadow: none;
}





/* ===== Login Section ===== */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--background);
}
.login-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.login-card {
  background: rgb(0, 0, 0);
  padding: 40px 30px;
  border-radius: 20px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.login-card:hover {
  transform: rotateY(-3deg) rotateX(3deg) scale(1.01);
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}
.logo-desa {
  width: 70px;
  height: auto;
  margin-bottom: 1rem;
}
.login-title {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.6rem;
}
.login-subtitle {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
input.form-control {
  font-size: 1rem;
  padding: 10px 12px;
}
.btn-login {
  background: var(--primary);
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px;
  width: 100%;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btn-login:hover, .btn-login:focus {
  background: #a3d4f4;
  outline: none;
}
@media (max-width: 576px) {
  .login-wrapper {
    padding-bottom: 70px;
  }
  .login-card {
    padding: 30px 20px;
    border-radius: 15px;
  }
  .login-title {
    font-size: 1.4rem;
  }
  .btn-login {
    font-size: 1rem;
    padding: 10px;
  }
  .logo-desa {
    width: 60px;
  }
}
/* ===== Cek Status ===== */
main {
  flex: 1;
  max-width: 800px;
  margin: 6rem auto;
  background-color: rgba(255, 255, 255, 0.05); /* Lebih transparan */
  padding: 2rem 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 255, 200, 0.15);
  backdrop-filter: blur(10px); /* Efek kaca */
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

h2, h3 {
  text-align: center;
  margin-bottom: 1rem;
  color: #ffffff; /* putih bersih untuk kontras tinggi */
    text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.6), /* bayangan gelap lembut */
    0 0 6px rgb(0, 0, 0);   /* efek tambahan glow ringan */
    
  font-weight: 700;
}


form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

select, button {
  padding: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

select:focus {
  outline: 2px solid #00eaff;
}

button {
  background-color: rgba(0, 212, 255, 0.2);
  color: #00f0ff;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid #00eaff;
}

button:hover {
  background-color: rgba(0, 255, 200, 0.3);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  overflow: hidden;
  backdrop-filter: blur(6px);
}

th, td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(15, 3, 96, 0.74);
  color: #ffffff;

}

th {
  background-color: rgba(0, 212, 255, 0.2);
  color: #ffffff;
  text-align: left;
}

tr:last-child td {
  border-bottom: none;
}

a {
  color: #e3faff;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

/* Neon Select Transparan */
select#jenis {
  background: rgba(255, 255, 255, 0.06); /* transparan ala kaca */
  backdrop-filter: blur(10px); /* efek blur kaca */
  border: 2px solid cyan;
  color: #eaffff;
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

select#jenis:focus {
  outline: none;
  border-color: #00ffe7;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

select#jenis option {
  color: #081c3c;
  background-color: #e7ffff;
}
/* Footer */
.footer-custom {
  backdrop-filter: blur(4px);
  color: var(--light-blue);
  font-size: 0.85rem;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 10;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  
}



/* ===== AOS Override ===== */
[data-aos] {
  opacity: 0;
  transition-property: transform, opacity;
}
[data-aos].aos-animate {
  opacity: 1;
}

.card {
  position: relative;
}

.notif-badge {
  position: absolute;
  top: 8px;
  right: 10px;
  background-color: crimson;
  color: white;
  font-size: 13px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 50%;
  z-index: 10;
}









