/* RESET */
*{box-sizing:border-box;margin:0;padding:0}

html,body{
  width:100%;
  height:100%;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}

/* ===== UNIVERSAL BACKGROUND ===== */
body.home,
body.page-bg{
  min-height:100vh;
  background-image:url('/assets/images/6.jpg');
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
  background-attachment:fixed;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}

/* ===== CARD / GLASS ===== */
.card,
.glass-card{
  width:100%;
  max-width:520px;
  background:rgba(255,255,255,0.26);
  backdrop-filter:blur(28px) saturate(160%);
  -webkit-backdrop-filter:blur(28px) saturate(160%);
  border-radius:26px;
  border:1px solid rgba(255,255,255,0.45);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.45),
    inset 0 1px 1px rgba(255,255,255,0.55);
  padding:22px;
}

/* ===== LOGO / BRAND ===== */
.logo-wrap{
  text-align:center;
  margin-bottom:10px;
}
.logo-wrap img{
  height:160px;
  width:auto;
}

.brand{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
  text-align:center;
}
.logo{
  height:120px;
  width:auto;
}
.brand-sub{
  font-size:14px;
  font-weight:800;
  color:rgba(0,0,0,0.62);
}

/* ===== TEXT ===== */
.hero-text{
  text-align:center;
  font-size:28px;
  font-weight:800;
  letter-spacing:.2px;
  margin-bottom:6px;
  color:#111;
}
.hero-sub{
  text-align:center;
  font-size:15px;
  color:rgba(0,0,0,0.65);
  margin-bottom:16px;
}
.footer-mini{
  margin-top:12px;
  text-align:center;
  font-size:12px;
  color:rgba(0,0,0,0.55);
  letter-spacing:.2px;
}
.footer-links{
  text-align:center;
  font-size:14px;
  margin-top:14px;
}
.footer-links a{
  color:#333;
  text-decoration:none;
  font-weight:700;
}
.footer-links a:hover{ text-decoration:underline; }

/* ===== GLASS FEATURE BOX ===== */
.glass-box{
  background:rgba(255,255,255,0.22);
  backdrop-filter:blur(18px) saturate(150%);
  -webkit-backdrop-filter:blur(18px) saturate(150%);
  border:1px solid rgba(255,255,255,0.4);
  border-radius:18px;
  padding:13px;
  font-size:14px;
  line-height:1.6;
  margin-bottom:18px;
  box-shadow:inset 0 1px 1px rgba(255,255,255,0.5);
}

/* ===== FORMS ===== */
.form, .login-form, .register-form { display:block; }

.label{
  display:block;
  margin:10px 0 6px;
  font-size:13px;
  font-weight:900;
  letter-spacing:.2px;
  color:rgba(0,0,0,0.65);
}

.input,
input[type="text"], input[type="password"], input[type="email"], input[type="tel"],
select, textarea{
  width:100%;
  box-sizing:border-box;
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.55);
  background:rgba(255,255,255,0.35);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  outline:none;
  font-size:16px;
}

.input:focus,
input:focus, select:focus, textarea:focus{
  border-color: rgba(255,255,255,0.75);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.20);
}

::placeholder{
  font-size:16px;
  color:rgba(0,0,0,0.55);
}

/* ===== BUTTONS ===== */
.btn{
  display:block;
  width:100%;
  text-align:center;
  padding:14px;
  border-radius:17px;
  font-size:15px;
  font-weight:800;
  color:#fff;
  text-decoration:none;
  border:1px solid rgba(255,255,255,0.25);
  cursor:pointer;
  background:linear-gradient(180deg,#e56a00,#c94f00);
  box-shadow:
    0 10px 22px rgba(201,79,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.25);
  transition:transform .12s ease, filter .12s ease, box-shadow .12s ease;
}
.btn:hover{ filter:brightness(1.12); }
.btn:active{
  transform:translateY(1px);
  box-shadow:
    0 6px 14px rgba(201,79,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-glow{
  box-shadow:
    0 18px 34px rgba(0,0,0,0.25),
    0 0 26px rgba(229,106,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn.secondary{
  background:linear-gradient(180deg,#1c1c1c,#0f0f0f);
  box-shadow:
    0 10px 22px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.15);
}

.row{
  display:flex;
  gap:10px;
}
.row .btn{ margin:0; }

/* ===== LINKS ===== */
.links{
  margin-top:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-size:13px;
  flex-wrap:wrap;
}
.link{
  color:rgba(0,0,0,0.78);
  font-weight:900;
  text-decoration:none;
}
.link:hover{ text-decoration:underline; }
.dot{ color:rgba(0,0,0,0.35); }

/* ===== CHIP ===== */
.chip{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.35);
  background:rgba(255,255,255,0.20);
  font-size:13px;
  font-weight:800;
}
.chip input{ width:auto; }

/* ===== ADMIN CODES SCROLL LAYOUT ===== */
body.home.admin-codes{
  height:100vh;
  overflow:hidden;
  align-items:flex-start;
  padding:16px;
}
body.home.admin-codes .card{
  width:100%;
  max-width:900px;
  height:calc(100vh - 32px);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  padding:18px;
}
.admin-codes-top{ flex:0 0 auto; }
.admin-codes-list{
  flex:1 1 auto;
  overflow-y:auto;
  padding:12px;
  margin-top:12px;
  background:rgba(255,255,255,0.20);
  backdrop-filter:blur(18px) saturate(160%);
  -webkit-backdrop-filter:blur(18px) saturate(160%);
  border:1px solid rgba(255,255,255,0.35);
  border-radius:18px;
}
.code-card{
  padding:10px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.35);
  background:rgba(255,255,255,0.18);
  margin-bottom:10px;
}
.code-big{
  font-weight:900;
  font-size:18px;
  letter-spacing:1px;
}
.admin-codes-list::-webkit-scrollbar{width:10px}
.admin-codes-list::-webkit-scrollbar-thumb{
  background:rgba(0,0,0,0.18);
  border-radius:999px;
}
