@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: 'Poppins', sans-serif;
}

/* Ensure media elements never force horizontal scroll */
img, picture, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
  display: block;
}

body{
  background:#05070e;
  color:white;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------- HERO SECTION -------- */

.hero{
  position:relative;
  height:67vh;
  
  background:url("https://images.hdqwalls.com/download/free-fire-elite-4k-19-1920x1080.jpg");
  background-size:cover;
  background-position:center;
}

.overlay{
  position:absolute;
  height:100%;
  width:100%;
  background:linear-gradient(to bottom, rgba(0,0,0,0.6), #05070e);
}

/* Header/nav moved to inline header styles in app/includes/header.php */
.hero-content{
  position:relative;
  text-align:center;
  top:10%;
  animation: fadeInUp 1s ease-out;  
  margin-bottom: 40px;
  padding: 20px;
}

/* Prevent horizontal sliding when zooming */
html, body { overflow-x: hidden; }

/* Prevent any direct child from overflowing viewport width (helps with long fixed-width elements) */
body > * {
  max-width: 100vw;
  box-sizing: border-box;
}

.hero-content h1{
  font-size:32px;
  text-shadow:0 0 15px red;
}
/* ===== Professional card/table styles ===== */
.card{
  background: linear-gradient(180deg, rgba(11,14,19,0.9), rgba(17,22,34,0.9));
  border-radius: 12px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 10px 30px rgba(2,6,23,0.6);
}
.leaderboard-table{
  width:100%;
  border-collapse:collapse;
  min-width:0; /* allow table to shrink; use responsive wrapper to scroll if needed */
}
.leaderboard-table thead th{
  text-align:left;
  padding:12px 16px;
  color:#facc15;
  font-weight:700;
  border-bottom:1px solid rgba(255,255,255,0.04);
}
.leaderboard-table tbody td{
  padding:12px 16px;
  color:#e6eef8;
  border-bottom:1px solid rgba(255,255,255,0.03);
}
.leaderboard-table tbody tr:nth-child(even){
  background: rgba(255,255,255,0.01);
}
.leaderboard-table tbody tr:hover{
  background: rgba(255,255,255,0.02);
}

/* Buttons and inputs */
input#search{
  min-width:0;
  width:100%;
  max-width:220px;
}

/* Responsive table wrapper to prevent horizontal overflow on small screens */
.table-responsive{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling: touch;
}

/* Mobile-first: ensure no horizontal overflow and inputs stretch appropriately */
@media (max-width: 480px) {
  .leaderboard-table{ min-width:0; }
  .card{ padding:14px; }
  input#search{ max-width:100%; }
  .hero{ background-position: center top; }
}

/* ===== TOP BANNER ===== */
/* ===== CARD STYLE TOP BANNER ===== */
.top-banner{
  position: sticky;
  top: 12px;                 /* thoda gap from top */
  z-index: 1000;

  width: 100%;
  max-width: calc(100% - 40px);  /* card look */
  margin: 0 auto;

  padding: 16px 22px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: linear-gradient(90deg, #ff1e1e, #ff7b00, #ff1e1e);
  background-size: 300% 300%;

  color: #fff;

  border-radius: 18px;       /* card corners */
  box-shadow: 0 12px 30px rgba(0,0,0,0.45); /* depth */

  animation: bannerSwipe 6s ease-in-out infinite;
}

/* Left content */
.banner-left h1{
  margin: 0;
  font-size: 24px;
  font-weight: 900;
}

.banner-info{
  margin-top: 4px;
  font-size: 13px;
  display: flex;
  gap: 14px;
  opacity: 0.95;
}

/* Right Join Button */
.mini-join-btn{
  padding: 8px 18px;
  background: #000;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;

  transition: transform 0.3s, box-shadow 0.3s;
}

.mini-join-btn:hover{
  box-shadow: 0 0 10px rgba(255,255,255,0.6);
}


/* Swipe animation */
@keyframes bannerSwipe{
  0%{
    background-position: 0% 50%;
  }
  50%{
    background-position: 100% 50%;
  }
  100%{
    background-position: 0% 50%;
  }
}


.big-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding:12px 30px;
  background:linear-gradient(45deg,#ff1e1e,#ff7b00);
  border-radius:10px;
  text-decoration:none;
  color:white;
  font-weight:700;
}


.big-btn:hover {
  box-shadow: 0 0 20px rgba(255, 30, 30, 0.5);
}

.status{
  margin: 12px 0;
  font-weight: bold;
  font-size: 16px;
}

.status.open{
  color: #00ff88;
}

.status.closed{
  color: #ff4444;
}

/* Registration Closed Message */
.registration-closed {
  text-align: center;
  margin: 20px 0;
  padding: 20px;
  background: rgba(255, 30, 30, 0.15);
  border: 2px solid #ff1e1e;
  border-radius: 12px;
  animation: fadeInUp 0.5s ease-out;
}

.closed-text {
  font-size: 24px;
  font-weight: 700;
  color: #ff1e1e;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(255, 30, 30, 0.5);
}

.closed-subtext {
  font-size: 16px;
  opacity: 0.9;
  color: #facc15;
}

/* Hero Buttons Container */
.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

/* YouTube Live Button */
.youtube-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  background: linear-gradient(45deg, #ff0000, #cc0000);
  border-radius: 10px;
  text-decoration: none;
  color: white;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

.youtube-btn:hover {
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
  background: linear-gradient(45deg, #ff1a1a, #e60000);
}

.youtube-btn svg {
  width: 20px;
  height: 20px;
  fill: white;
}
.countdown-box{
  
  display: flex;
  
  gap: 14px;
  justify-content: center;
  margin: 18px 20px;
  padding: 12px;
  border-radius: 14px;

}

@keyframes borderGlow {
  0%{
    box-shadow: 0 0 8px #ff004c;
  }
  50%{
    box-shadow: 0 0 14px #ffae00;
  }
  100%{
    box-shadow: 0 0 8px #00ffcc;
  }
}


.time-box{
  background: rgba(0,0,0,0.75);
  padding: 12px 16px;
  border-radius: 10px;
  text-align: center;
  min-width: 72px;
  width: 75px;
  border: 1px #ff1e1e solid; box-shadow: 0 0 8px rgba(255,255,255,0.15);
  background: linear-gradient(#000, #000) padding-box,
              linear-gradient(135deg, #ff004c, #ffae00, #00ffcc) border-box;
  border: 2px solid transparent;

  animation: borderGlow 3s linear infinite;
}

.time-box span{
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #ffd700;
  text-shadow: 0 0 6px rgba(255,215,0,0.8);
  
  
}

.time-box small{
  font-size: 11px;
  color: #ddd;
  letter-spacing: 1px;
  
}




/* -------- DETAILS SECTION -------- */

.details{
  text-align:center;
  padding:0px 15px 0px 15px;
}

.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:15px;
  margin-top:10px;
}

.card{
  background:linear-gradient(180deg,#0c1224,#080b16);
  padding:20px;
  border-radius:10px;
  border:1px solid red;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}



/* -------- RULES -------- */

.rules{
  padding:40px;
}

.rules ul li{
  margin:8px 0;
}


/* -------- REGISTER PAGE BG -------- */

.small-hero{
  background:url("https://images7.alphacoders.com/107/1074383.jpg");
  background-size:cover;
  background-position:center;
  text-align:center;
  padding:40px;
}

.form-box{
  max-width:500px;
  margin:30px auto;
  background:#0d1220;
  padding:25px;
  border-radius:12px;
  border:1px solid red;
}

/* Registration Closed Box */
.registration-closed-box {
  max-width: 500px;
  margin: 30px auto;
  background: #0d1220;
  padding: 40px 30px;
  border-radius: 12px;
  border: 2px solid #ff1e1e;
  text-align: center;
  animation: fadeInUp 0.5s ease-out;
}

.closed-icon {
  font-size: 60px;
  margin-bottom: 15px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    /* keep subtle pulse without scaling layout: use opacity change */
    opacity: 0.9;
  }
}

.closed-title {
  color: #ff1e1e;
  font-size: 28px;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(255, 30, 30, 0.5);
}

.closed-message {
  font-size: 18px;
  color: #facc15;
  margin-bottom: 10px;
  font-weight: 600;
}

.closed-submessage {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.8);
}

.back-home-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 25px;
  background: rgba(255, 30, 30, 0.2);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgba(255, 30, 30, 0.5);
  transition: all 0.3s ease;
}

.back-home-btn:hover {
  background: rgba(255, 30, 30, 0.4);
  border-color: #ff1e1e;
}

/* Enhanced Form Styles */
.players-section-title {
  color: #facc15;
  font-size: 20px;
  margin: 25px 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 30, 30, 0.3);
}

input[type="tel"],
input[type="email"] {
  width: 100%;
  padding: 10px;
  margin: 8px 0 12px 0;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 30, 30, 0.3);
  transition: all 0.3s ease;
}

input[type="tel"]:focus,
input[type="email"]:focus {
  outline: none;
  border-color: #ff1e1e;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px rgba(255, 30, 30, 0.3);
}

input[type="tel"]::placeholder,
input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

label {
  color: #facc15;
  font-weight: 500;
  display: block;
  margin-top: 12px;
}

input,textarea{
  width:100%;
  padding:10px;
  margin:8px 0 12px 0;
  border:none;
  border-radius:6px;
}

/* Registration form enhancements */
.form-box h1{
  color: #ff1e1e;
  margin-bottom: 12px;
}

.form-group{
  margin-bottom: 14px;
}

.form-box label{
  color: #facc15;
  font-weight:600;
  display:block;
  margin-bottom:6px;
}

.ign-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}

@media(max-width:600px){
  .ign-grid{grid-template-columns:1fr;}
}

button{
  width:100%;
  padding:12px;
  background:linear-gradient(45deg,#ff1e1e,#ff7b00);
  border:none;
  border-radius:8px;
  font-size:18px;
  cursor:pointer;
}



footer{
  text-align:center;
  padding:30px 20px;
  background: rgba(5, 7, 14, 0.9);
  border-top: 1px solid rgba(255, 30, 30, 0.4);
  margin-top: 40px;
}

footer p {
  margin-top: 10px;
  opacity: 0.9;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}



/* -------- PAYMENT SECTION -------- */

.pay-title{
  margin-top:10px;
  text-align:center;
}

.qr-box{
  text-align:center;
  margin:10px 0;
}

.qr-box img{
  width:220px;
  border-radius:10px;
}

.info{
  opacity:.8;
  font-size:13px;
  margin-bottom:10px;
}
/* -------- LEADERBOARD PAGE -------- */

.leader-hero{
  position:relative;
  text-align:center;
  padding:60px 20px;
  background:url("https://images7.alphacoders.com/112/1128033.jpg");
  background-size:cover;
  background-position:center;
}

.overlay2{
  position:absolute;
  width:100%;
  height:100%;
  top:0;
  left:0;
  background:rgba(0,0,0,.7);
}

.leader-hero h1,
.leader-hero p{
  position:relative;
}

.leader-hero h1{
  font-size:38px;
  text-shadow:0 0 18px red;
}

.winner-section{
  padding:30px;
  text-align:center;
}

.winner-box{
  max-width:500px;
  margin:15px auto;
  background:#0d1220;
  padding:18px;
  border-radius:12px;
  border:1px solid red;
}

.winner-box span{
  color:#facc15;
}

.board{
  padding:25px;
}

table{
  width:100%;
  border-collapse:collapse;
  background:#0d1220;
  border-radius:10px;
  overflow:hidden;
}

th,td{
  padding:12px;
  text-align:center;
}

th{
  background:#ff1e1e;
}

tr{
  border-bottom:1px solid #222;
}
/* Additional header/nav rules moved to header include */
/* -------- THANK YOU PAGE -------- */

.thank-container{
  height:80vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:20px;
  animation:fadeIn 1.2s ease-in-out;
}

.checkmark{
  font-size:80px;
  color:#22c55e;
  margin-bottom:10px;
  animation:pop 0.6s ease-in-out;
}

.thank-container h1{
  font-size:34px;
  margin-bottom:10px;
  text-shadow:0 0 15px #22c55e;
}

.thank-container p{
  max-width:500px;
  opacity:.85;
  line-height:1.6;
}

.thank-btn{
  margin-top:20px;
  padding:12px 30px;
  background:linear-gradient(45deg,#ff1e1e,#ff7b00);
  color:white;
  text-decoration:none;
  border-radius:8px;
  font-weight:600;
  transition:.3s;
}

.thank-btn:hover{
  /* removed zoom on hover to prevent layout shift */
}

/* Animations */
@keyframes fadeIn{
  from{opacity:0; transform:translateY(20px);}
  to{opacity:1; transform:translateY(0);}
}

@keyframes pop{
  0%{transform:scale(0);}
  80%{transform:scale(1);}
  100%{transform:scale(1);}
}
/* -------- THANK YOU PAGE -------- */

.thank-container{
  height:85vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:20px;
  animation:fadeIn 1.2s ease-in-out;
}

.checkmark{
  font-size:80px;
  color:#22c55e;
  margin-bottom:10px;
  animation:pop 0.6s ease-in-out;
}

.thank-container h1{
  font-size:34px;
  margin-bottom:10px;
  text-shadow:0 0 15px #22c55e;
}

.thank-text{
  max-width:520px;
  opacity:.9;
  line-height:1.6;
  margin-bottom:18px;
}

/* WhatsApp Button */
.whatsapp-join{
  display:inline-block;
  margin-top:10px;
  padding:14px 34px;
  background:linear-gradient(45deg,#25D366,#16a34a);
  color:white;
  text-decoration:none;
  border-radius:30px;
  font-size:18px;
  font-weight:600;
  box-shadow:0 0 25px rgba(37,211,102,.6);
  transition:.3s;
}

.whatsapp-join:hover{
  /* removed zoom on hover to prevent layout shift */
}

/* Warning Note */
.note{
  margin-top:10px;
  font-size:14px;
  color:#facc15;
  opacity:.9;
}

.thank-btn{
  margin-top:22px;
  padding:12px 30px;
  background:linear-gradient(45deg,#ff1e1e,#ff7b00);
  color:white;
  text-decoration:none;
  border-radius:8px;
  font-weight:600;
  transition:.3s;
}

.thank-btn:hover{
  /* removed zoom on hover to prevent layout shift */
}

/* Animations */
@keyframes fadeIn{
  from{opacity:0; transform:translateY(25px);}
  to{opacity:1; transform:translateY(0);}
}

@keyframes pop{
  0%{transform:scale(0);}
  80%{transform:scale(1);}
  100%{transform:scale(1);}
}
/* -------- LANGUAGE SWITCH -------- */

.lang-switch{
  display:flex;
  justify-content:center;
  gap:10px;
  margin:15px 0;
}

.lang{
  padding:6px 16px;
  border-radius:20px;
  border:1px solid #facc15;
  text-decoration:none;
  color:white;
  font-size:14px;
  transition:.3s;
}

.lang:hover{
  background:#facc15;
  color:black;
}

.lang.active{
  background:#facc15;
  color:black;
  font-weight:600;
}
/* Header/hamburger styles moved to header include */
/* -------- MOBILE VIEW -------- */
@media(max-width:768px){

  /* Header mobile pieces moved to header include */

  /* Mobile countdown timer */
  .countdown-box{
    gap: 8px;
    padding: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .time-box{
    min-width: 60px;
    padding: 8px 12px;
  }

  .time-box span{
    font-size: 20px;
  }

  .time-box small{
    font-size: 10px;
  }

  /* Mobile big-btn spacing */
  .big-btn{
    margin: 0px auto !important; /* Remove top margin on mobile */
  }

  /* Mobile hero buttons */
  .hero-buttons {
    gap: 12px;
  }

  .youtube-btn {
    padding: 10px 25px;
    font-size: 14px;
  }

  .closed-text {
    font-size: 20px;
  }

  .closed-subtext {
    font-size: 14px;
  }

  /* Mobile hero-content spacing */
  .hero-content{
    margin-bottom: 10px !important; /* Reduce bottom margin on mobile */
    padding: 15px !important; /* Add padding for mobile */
  }

  /* Mobile banner styles */
  .top-banner{
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .banner-info{
    flex-direction: column;
    gap: 2px;
  }

  /* Mobile registration closed box */
  .registration-closed-box {
    padding: 30px 20px;
    margin: 20px 15px;
  }

  .closed-icon {
    font-size: 50px;
  }

  .closed-title {
    font-size: 24px;
  }

  .closed-message {
    font-size: 16px;
  }

  .closed-submessage {
    font-size: 13px;
  }

  .form-box {
    margin: 20px 15px;
    padding: 20px;
  }

  .players-section-title {
    font-size: 18px;
  }
}

/* -------- RULES PAGE -------- */

.rules-hero{
  text-align:center;
  padding:50px 20px;
  background:linear-gradient(to right,#ff1e1e,#ff7b00);
}

.rules-hero h1{
  font-size:36px;
}

.rules-hero p{
  opacity:.9;
}

.rules-box{
  max-width:900px;
  margin:30px auto;
  padding:20px;
}

.rules-box h2{
  margin-top:25px;
  color:#facc15;
}

.rules-box ul{
  margin-top:10px;
  padding-left:20px;
}

.rules-box ul li{
  margin:8px 0;
  line-height:1.6;
}
.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  padding: 10px 0;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 30, 30, 0.15);
  border: 2px solid rgba(255, 30, 30, 0.6);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.social-icons a svg {
  width: 26px;
  height: 26px;
  display: block;
  color: white;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
  background: rgba(255, 30, 30, 0.25);
  border-color: #ff1e1e;
  box-shadow: 0 4px 15px rgba(255, 30, 30, 0.5);
}

.social-icons a:hover svg {
  color: #ff1e1e;
}

/* -------- ADMIN PANEL -------- */

.auth-screen {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 20px;
  background: #05070e;
}

.auth-box {
  background: #0d1220;
  padding: 40px;
  border-radius: 15px;
  border: 2px solid rgba(255, 30, 30, 0.5);
  max-width: 450px;
  width: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.auth-box h2 {
  color: #ff1e1e;
  text-align: center;
  margin-bottom: 10px;
  font-size: 28px;
}

.auth-subtitle {
  text-align: center;
  opacity: 0.9;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.8);
}

.auth-box label {
  color: #facc15;
  font-weight: 500;
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
}

.auth-box input {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 30, 30, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 16px;
  transition: all 0.3s ease;
}

.auth-box input:focus {
  outline: none;
  border-color: #ff1e1e;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px rgba(255, 30, 30, 0.3);
}

.auth-error {
  background: rgba(255, 30, 30, 0.2);
  color: #ff6b6b;
  padding: 12px;
  border-radius: 8px;
  margin-top: 15px;
  border: 1px solid rgba(255, 30, 30, 0.5);
  text-align: center;
}

.admin-container {
  max-width: 1400px;
  margin: 20px auto;
  padding: 20px;
}

.admin-alert {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 600;
}

.admin-alert.success {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.5);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-box {
  background: #0d1220;
  padding: 25px;
  border-radius: 12px;
  border: 2px solid rgba(255, 30, 30, 0.3);
  text-align: center;
}

.stat-box h3 {
  color: #facc15;
  font-size: 16px;
  margin-bottom: 10px;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: white;
}

.stat-box.pending {
  border-color: rgba(250, 204, 21, 0.5);
}

.stat-box.pending .stat-number {
  color: #facc15;
}

.stat-box.approved {
  border-color: rgba(34, 197, 94, 0.5);
}

.stat-box.approved .stat-number {
  color: #22c55e;
}

.stat-box.rejected {
  border-color: rgba(255, 30, 30, 0.5);
}

.stat-box.rejected .stat-number {
  color: #ff1e1e;
}

.admin-filters {
  background: #0d1220;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 30, 30, 0.3);
  margin-bottom: 20px;
}

.filter-form {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}

.search-input {
  flex: 1;
  min-width: 0; /* allow flex container to shrink on small screens */
  padding: 12px;
  border: 1px solid rgba(255, 30, 30, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.status-select {
  padding: 12px;
  border: 1px solid rgba(255, 30, 30, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.filter-btn, .reset-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.filter-btn {
  background: linear-gradient(45deg, #ff1e1e, #ff7b00);
  color: white;
}

.reset-btn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  display: inline-block;
}

.admin-table-container {
  background: #0d1220;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 30, 30, 0.3);
  overflow-x: auto;
}

.bulk-actions {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(255, 30, 30, 0.1);
  border-radius: 8px;
}

.bulk-actions label {
  color: white;
  cursor: pointer;
}

.bulk-select {
  padding: 8px 12px;
  border: 1px solid rgba(255, 30, 30, 0.3);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.bulk-btn {
  padding: 8px 20px;
  background: linear-gradient(45deg, #ff1e1e, #ff7b00);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  color: white;
}

.admin-table th {
  background: rgba(255, 30, 30, 0.3);
  padding: 15px;
  text-align: left;
  font-weight: 600;
  color: #facc15;
  border-bottom: 2px solid rgba(255, 30, 30, 0.5);
}

.admin-table td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-table tr:hover {
  background: rgba(255, 30, 30, 0.05);
}

.status-badge {
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
}

.status-badge.status-pending {
  background: rgba(250, 204, 21, 0.2);
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.5);
}

.status-badge.status-approved {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.5);
}

.status-badge.status-rejected {
  background: rgba(255, 30, 30, 0.2);
  color: #ff6b6b;
  border: 1px solid rgba(255, 30, 30, 0.5);
}

.action-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-approve {
  padding: 6px 12px;
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.5);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-approve:hover {
  background: rgba(34, 197, 94, 0.4);
}

.btn-reject {
  padding: 6px 12px;
  background: rgba(255, 30, 30, 0.2);
  color: #ff6b6b;
  border: 1px solid rgba(255, 30, 30, 0.5);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-reject:hover {
  background: rgba(255, 30, 30, 0.4);
}

.btn-auto-verify {
  padding: 6px 12px;
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.5);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-right: 5px;
}

.btn-auto-verify:hover {
  background: rgba(59, 130, 246, 0.4);
}

.btn-auto-verify:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.bulk-btn-auto {
  padding: 8px 20px;
  background: linear-gradient(45deg, #3b82f6, #2563eb);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  margin-left: 10px;
  transition: all 0.3s ease;
}

.bulk-btn-auto:hover {
  background: linear-gradient(45deg, #2563eb, #1d4ed8);
}

.bulk-btn-auto:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.action-complete {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.no-data {
  text-align: center;
  padding: 40px;
  color: rgba(255, 255, 255, 0.5);
}

code {
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 8px;
  border-radius: 4px;
  font-family: monospace;
  color: #facc15;
}

/* Modal */
.modal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
}

.modal-content {
  background: #0d1220;
  padding: 30px;
  border-radius: 12px;
  border: 2px solid rgba(255, 30, 30, 0.5);
  max-width: 500px;
  width: 90%;
}

.modal-content h3 {
  color: #ff1e1e;
  margin-bottom: 20px;
}

.modal-content textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 30, 30, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  margin-top: 10px;
  resize: vertical;
}

.modal-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn-cancel {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

/* Payment Check Page */
.payment-check-container {
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: #05070e;
}

.payment-check-box {
  background: #0d1220;
  padding: 40px;
  border-radius: 15px;
  border: 2px solid rgba(255, 30, 30, 0.5);
  max-width: 600px;
  width: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.payment-check-box h2 {
  color: #ff1e1e;
  text-align: center;
  margin-bottom: 10px;
}

.check-subtitle {
  text-align: center;
  opacity: 0.9;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.8);
}

.check-form {
  margin-bottom: 30px;
}

.check-form label {
  color: #facc15;
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}

.check-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 30, 30, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 16px;
  margin-bottom: 15px;
}

.check-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(45deg, #ff1e1e, #ff7b00);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.payment-status-box {
  padding: 25px;
  border-radius: 12px;
  border: 2px solid;
  margin-top: 20px;
}

.payment-status-box.status-pending {
  border-color: rgba(250, 204, 21, 0.5);
  background: rgba(250, 204, 21, 0.1);
}

.payment-status-box.status-approved {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.1);
}

.payment-status-box.status-rejected {
  border-color: rgba(255, 30, 30, 0.5);
  background: rgba(255, 30, 30, 0.1);
}

.status-info p {
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.9);
}

.status-message {
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
  line-height: 1.6;
}

.status-message.success {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.5);
}

.status-message.error {
  background: rgba(255, 30, 30, 0.2);
  color: #ff6b6b;
  border: 1px solid rgba(255, 30, 30, 0.5);
}

.status-message.pending {
  background: rgba(250, 204, 21, 0.2);
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.5);
}

.approved-time {
  margin-top: 15px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

/* Mobile Responsive */
@media(max-width: 768px) {
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-form {
    flex-direction: column;
  }

  .search-input, .status-select {
    width: 100%;
  }

  .admin-table {
    font-size: 14px;
  }

  .admin-table th,
  .admin-table td {
    padding: 8px;
  }

  .action-buttons {
    flex-direction: column;
  }
}