:root{
  --blue:#004080;
  --dark:#002f60;
  --green:#0F9D58;
}

/* RESET */
*{
  box-sizing:border-box;
  font-family:system-ui,Arial;
}

body{
  margin:0;
  background:url('bg.jpg') center/cover fixed;
  color:#fff;
}

/* OVERLAY */
.overlay{
  background:rgba(0,0,0,0.75);
  min-height:100vh;
  padding-bottom:40px;
}

/* HEADER */
header{
  background:var(--blue);
  padding:20px;
  text-align:center;
}

header img{
  height:90px;
  border-radius:12px;
  background:#fff;
  padding:5px;
}

h1{
  margin:10px 0 5px;
  font-size:24px;
}

/* NAV */
nav{
  background:var(--dark);
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
}

nav a{
  color:#fff;
  text-decoration:none;
  padding:14px 18px;
  font-weight:600;
}

nav a.active{
  background:#001f40;
}

/* SECTION */
section{
  padding:20px;
  max-width:1100px;
  margin:auto;
}

/* CARD */
.card{
  background:rgba(255,255,255,0.96);
  color:#333;
  padding:20px;
  border-radius:14px;
  box-shadow:0 6px 14px rgba(0,0,0,.35);
  animation:fadeIn 0.6s ease;
}

/* INPUT */
input, textarea{
  width:100%;
  padding:12px;
  margin:8px 0;
  border:1px solid #ccc;
  border-radius:10px;
  font-size:16px;
}

/* BUTTON */
button{
  width:100%;
  padding:12px;
  background:var(--blue);
  color:#fff;
  border:none;
  border-radius:10px;
  font-weight:bold;
  cursor:pointer;
  transition:0.3s;
}

button:hover{
  background:var(--dark);
}

/* TABLE */
table{
  width:100%;
  border-collapse:collapse;
  background:#ffffff;
}

th{
  background:var(--blue);
  color:#ffffff;
  padding:10px;
}

td{
  color:#000000;
  padding:10px;
  border-bottom:1px solid #ddd;
}

/* alternate rows */
tr:nth-child(even) td{
  background:#f2f2f2;
}

/* hover effect */
tr:hover td{
  background:#e6f2ff !important;
  transition:0.2s;
}

/* amount column */
td:nth-child(3){
  color:var(--green);
  font-weight:bold;
}

/* VIEW BUTTON */
.view-btn{
  background:linear-gradient(135deg,#28a745,#0F9D58);
  color:#fff;
  border:none;
  padding:8px 14px;
  border-radius:8px;
  font-weight:bold;
  cursor:pointer;
  transition:0.3s;
}

.view-btn:hover{
  transform:scale(1.05);
  background:linear-gradient(135deg,#218838,#0c7a43);
}

/* QR */
.qr{
  text-align:center;
  margin-top:15px;
}

.qr img{
  width:260px;
  border:4px solid var(--blue);
  border-radius:12px;
  background:#fff;
}

/* GPay */
.gpay{
  display:inline-block;
  margin-top:12px;
  padding:12px 20px;
  background:var(--green);
  color:#fff;
  border-radius:10px;
  text-decoration:none;
  font-weight:bold;
}

/* INFO */
.info{
  line-height:1.6;
}

/* LOGIN BACKGROUND */
.login-bg{
  height:100vh;
  width:100%;
  background:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),
  url("https://images.unsplash.com/photo-1522071820081-009f0129c71c")
  center/cover no-repeat;
  display:flex;
  justify-content:center;
  align-items:center;
}

/* LOGIN BOX */
.login-box{
  width:320px;
  background:rgba(255,255,255,0.1);
  backdrop-filter:blur(10px);
  padding:25px;
  border-radius:12px;
  color:white;
  box-shadow:0 0 20px rgba(0,0,0,0.4);
}

/* LOGOUT */
.logout{
  background: linear-gradient(135deg,#ff4d4d,#cc0000);
  color:#fff;
  float:right;
  padding:8px 14px;
  border:none;
  border-radius:20px;
  cursor:pointer;
  font-weight:bold;
  transition:0.3s;
}

.logout:hover{
  background: linear-gradient(135deg,#cc0000,#990000);
  transform: scale(1.05);
}

/* ANIMATION */
@keyframes fadeIn{
  from{opacity:0; transform:translateY(10px);}
  to{opacity:1; transform:translateY(0);}
}
.card-box p{
  color:#000 !important;
}

.card-box h3{
  color:#333 !important;
}
