/* 
    Polosys Registration Premium UI Design System
    Matches Index.aspx visual language: Dark Mode, Glassmorphism, Inter Typography
*/

:root {
  --reg-navy: #000c26;
  --reg-blue: #0066ff;
  --reg-accent: #00d2ff;
  --reg-white: #ffffff;
  --reg-glass: rgba(255, 255, 255, 0.05);
  --reg-border: rgba(255, 255, 255, 0.1);
  --reg-font: 'Inter', sans-serif;
}

/* Base Styles */
body.bggd {
  background-color: var(--reg-navy) !important;
  font-family: var(--reg-font) !important;
  color: var(--reg-white) !important;
  overflow-x: hidden;
}

/* Hide legacy headers */
.cb-header.header1,
.cb-header.header2,
header.cb-header {
  display: none !important;
}

/* ============================================================
   HERO BANNER & FORM SECTION
   ============================================================ */
.inr_banner {
  background: radial-gradient(circle at top right, #001a4d, #000c26) !important;
  padding: 160px 0 100px !important;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bhed_box {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 50px;
}

.black_hed {
  font-size: 52px !important;
  font-weight: 900 !important;
  letter-spacing: -1.5px !important;
  background: linear-gradient(135deg, #fff 0%, #00d2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: white !important;
  margin-bottom: 15px !important;
}

.hed_sml {
  font-size: 18px !important;
  color: rgba(255,255,255,0.7) !important;
  font-weight: 500 !important;
}

/* Registration Box */
.rgbox {
  background: var(--reg-glass) !important;
  border: 1px solid var(--reg-border) !important;
  padding: 50px !important;
  border-radius: 30px !important;
  width: 100% !important;
  max-width: 650px !important;
  float: none !important;
  margin: 0 auto !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  position: relative;
  z-index: 10;
}

.label-success {
    background-color: rgba(0, 255, 128, 0.1) !important;
    border: 1px solid rgba(0, 255, 128, 0.2) !important;
    color: #00ff80 !important;
    padding: 15px !important;
    border-radius: 12px !important;
    margin-bottom: 30px !important;
    display: block !important;
    width: 100% !important;
}

.rg_fild {
  width: 100% !important;
  height: 55px !important;
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid var(--reg-border) !important;
  border-radius: 12px !important;
  padding: 0 20px !important;
  color: white !important;
  margin-bottom: 5px !important;
  font-size: 15px !important;
  transition: all 0.3s ease !important;
}

.rg_fild:focus {
  background: rgba(255,255,255,0.06) !important;
  border-color: var(--reg-blue) !important;
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.2) !important;
  outline: none !important;
}

.rg_fild_Req {
    margin-bottom: 15px;
    height: 20px;
}

.errorTitle {
    font-size: 14px !important;
    color: #ff4d4d !important;
    font-weight: 500 !important;
}

/* Select Dropdown styling */
select.rg_fild {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M10.293 3.293 6 7.586 1.707 3.293A1 1 0 0 0 .293 4.707l5 5a1 1 0 0 0 1.414 0l5-5a1 1 0 1 0-1.414-1.414z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 20px center !important;
}

.reg_btn {
  width: 100% !important;
  height: 60px !important;
  background: linear-gradient(135deg, var(--reg-blue) 0%, #00a8ff 100%) !important;
  border: none !important;
  border-radius: 12px !important;
  color: white !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  cursor: pointer !important;
  margin-top: 20px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3) !important;
}

.reg_btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 102, 255, 0.5) !important;
}

/* ============================================================
   COUNTERS SECTION
   ============================================================ */
.counters {
  background: #000c26 !important;
  padding: 100px 0 !important;
  border-top: 1px solid var(--reg-border);
}

.counters .wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1200px !important;
  margin: 0 auto !important;
  width: 100% !important;
}

.counters .card {
  background: var(--reg-glass) !important;
  border: 1px solid var(--reg-border) !important;
  padding: 40px 20px !important;
  border-radius: 20px !important;
  text-align: center !important;
  transition: all 0.3s ease !important;
}

.counters .card:hover {
  background: rgba(255,255,255,0.08) !important;
  transform: translateY(-10px);
  border-color: var(--reg-blue) !important;
}

.counters h4 {
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: rgba(255,255,255,0.5) !important;
  margin-bottom: 10px !important;
}

.counters .cdt {
  font-size: 42px !important;
  font-weight: 800 !important;
  color: white !important;
  line-height: 1 !important;
  margin-bottom: 5px !important;
}

.counters .count {
  color: var(--reg-accent) !important;
}

/* ============================================================
   MODERN FOOTER (Same as Index)
   ============================================================ */
.eb-modern-footer {
  background: #000a1f;
  padding: 80px 0 40px;
  color: white;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.eb-modern-footer .section-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.eb-modern-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.eb-modern-footer .footer-logo {
  height: 40px;
  margin-bottom: 25px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.eb-modern-footer .brand-desc {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  max-width: 350px;
  margin-bottom: 30px;
}

.eb-modern-footer .footer-socials {
  display: flex;
  gap: 15px;
}

.eb-modern-footer .footer-socials a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.1);
}

.eb-modern-footer .footer-socials a:hover {
  background: var(--reg-blue);
  transform: translateY(-5px);
  border-color: var(--reg-blue);
}

.eb-modern-footer .footer-column h4 {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--reg-blue);
  margin-bottom: 30px;
  font-weight: 700;
  letter-spacing: 2px;
}

.eb-modern-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.eb-modern-footer .footer-links li {
  margin-bottom: 12px;
}

.eb-modern-footer .footer-links li a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.eb-modern-footer .footer-links li a:hover {
  color: white;
  padding-left: 8px;
}

.eb-modern-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.eb-modern-footer .country-text {
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.2);
}

/* Responsive */
@media (max-width: 991px) {
  .eb-modern-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .black_hed { font-size: 38px !important; }
}

@media (max-width: 600px) {
  .rgbox { padding: 30px !important; }
  .eb-modern-footer .footer-grid { grid-template-columns: 1fr; }
  .eb-modern-footer .footer-bottom { flex-direction: column; text-align: center; gap: 20px; }
}
