/* ============================================================
   register.css — HSCOL Registration Page (Pixel-Perfect Match)
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.auth-body {
  font-family: 'Plus Jakarta Sans', 'Inter', 'Montserrat', sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  color: #1E293B;
  background: #0A1228;
}

.auth-main {
  width: 100%;
  max-width: 100%;
  margin: 0;
  height: 100vh;
}

/* ── Outer Dark Frame ── */
.auth-card-frame {
  display: flex;
  width: 100%;
  height: 100vh;
  background: #0A1228;
  border-radius: 0;
  overflow: hidden;
  padding: 0;
  gap: 0;
}

/* ── Left Branding Panel ── */
.auth-branding-panel {
  flex: 1;
  position: relative;
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  overflow: hidden;
  height: 100vh;
}

.branding-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.branding-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(
    135deg,
    rgba(5, 10, 25, 0.90) 0%,
    rgba(7, 14, 35, 0.78) 55%,
    rgba(4, 9, 22, 0.94) 100%
  ); */
  background: linear-gradient(135deg, rgba(5, 10, 25, 0.70) 0%, rgba(7, 14, 35, 0.28) 100%, rgba(4, 9, 22, 0.24) 20%);
  z-index: 2;
}

/* Glowing Dots Grid */
.dots-grid {
  position: absolute;
  top: 28px;
  right: 32px;
  display: grid;
  grid-template-columns: repeat(6, 5px);
  grid-template-rows: repeat(4, 5px);
  gap: 10px;
  z-index: 3;
  opacity: 0.65;
}

.dots-grid .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #E5AA37;
  box-shadow: 0 0 5px rgba(229, 170, 55, 0.5);
}

/* Golden Arc */
.golden-arc {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 150px;
  z-index: 3;
  pointer-events: none;
}

/* Panel Content */
.branding-content {
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Logo */
.branding-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-title {
  font-family: 'Inter', 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #F3BA42;
  letter-spacing: 1.5px;
  line-height: 1;
}

.logo-subtitle {
  font-size: 8px;
  font-weight: 700;
  color: #E5AA37;
  letter-spacing: 2.5px;
  margin-top: 4px;
  text-transform: uppercase;
}

/* Heading */
.branding-title {
  font-family: 'Inter', 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 10px;
}

.highlight-gold {
  color: #F3BA42;
}

.branding-desc {
  font-size: 13.5px;
  color: #94A3B8;
  line-height: 1.65;
  margin-bottom: 36px;
}

/* Feature Items */
.features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: auto;
  margin-bottom: 28px;
}

.feature-item {
  display: flex;
  flex-direction: column;
}

.feature-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(229, 170, 55, 0.35);
  background: rgba(229, 170, 55, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.feature-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 3px;
}

.feature-sub {
  font-size: 11px;
  color: #94A3B8;
  line-height: 1.35;
}

.branding-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.10);
  margin-bottom: 20px;
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Inter', 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #F3BA42;
  line-height: 1;
}

.stat-label {
  font-size: 11.5px;
  color: #94A3B8;
  margin-top: 5px;
  font-weight: 500;
}

/* ── Right White Form Card ── */
.auth-form-card {
  flex: 0 0 520px;
  background: #FFFFFF;
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0;
  height: 100vh;
}

/* Form Header */
.form-header {
  margin-bottom: 16px;
}

.form-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}

.form-subtitle {
  font-size: 13px;
  color: #64748B;
  margin-top: 4px;
}

.role-text-highlight {
  font-weight: 600;
  color: #1E293B;
}

/* Role Selector Tabs */
.role-tabs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.role-tab {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  color: #475569;
  transition: all 0.18s ease;
}

.role-tab:hover {
  border-color: #CBD5E1;
  background: #F8FAFC;
}

.role-tab.active {
  background: #1C2852;
  border-color: #1C2852;
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(28, 40, 82, 0.25);
}

.role-tab.active svg {
  stroke: #FFFFFF;
}

/* 2-Col Form Grid */
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 5px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 12px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.input-wrapper input {
  width: 100%;
  height: 42px;
  padding: 0 38px 0 36px;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  color: #1E293B;
  background-color: #FAFAFA;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.input-wrapper input:focus {
  background-color: #FFFFFF;
  border-color: #1C2852;
  box-shadow: 0 0 0 3px rgba(28, 40, 82, 0.1);
}

.input-wrapper input::placeholder {
  color: #B0BCCC;
}

.input-wrapper input.input-error {
  border-color: #EF4444;
  background-color: #FEF2F2;
}

.input-wrapper input.input-success {
  border-color: #10B981;
}

.toggle-pw {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #94A3B8;
  display: flex;
  align-items: center;
  transition: color 0.18s ease;
}

.toggle-pw:hover,
.toggle-pw.active {
  color: #1C2852;
}

/* Strength Meter */
.strength-meter-container {
  margin-top: 2px;
  margin-bottom: 14px;
}

.strength-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.strength-title {
  font-size: 11.5px;
  color: #64748B;
  font-weight: 500;
}

.strength-status {
  font-size: 11.5px;
  font-weight: 600;
  color: #94A3B8;
}

.strength-track {
  width: 100%;
  height: 4px;
  background: #E2E8F0;
  border-radius: 4px;
  overflow: hidden;
}

.strength-bar-fill {
  height: 100%;
  width: 0%;
  background: #1C2852;
  border-radius: 4px;
  transition: width 0.3s ease, background-color 0.3s ease;
}

/* Submit Button */
.btn-primary-gradient {
  width: 100%;
  height: 44px;
  background: #1C2852;
  border: none;
  border-radius: 8px;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
  box-shadow: 0 4px 14px rgba(28, 40, 82, 0.3);
  letter-spacing: 0.2px;
}

.btn-primary-gradient:hover {
  background: #263872;
  box-shadow: 0 6px 20px rgba(28, 40, 82, 0.4);
}

.btn-primary-gradient:active {
  transform: translateY(1px);
}

.btn-arrow {
  position: absolute;
  right: 16px;
}

/* Divider */
.divider-line {
  margin: 16px 0 14px;
  text-align: center;
  position: relative;
}

.divider-line::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #E8EDF3;
  z-index: 0;
}

.divider-line span {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  padding: 0 14px;
  font-size: 12px;
  color: #64748B;
  font-weight: 500;
}

/* Social Button */
.btn-social-full {
  width: 100%;
}

.btn-social-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  background: #FFFFFF;
  color: #1E293B;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-social-outline:hover {
  background: #F7F9FC;
  border-color: #CBD5E1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

/* Footer */
.auth-footer-text {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: #64748B;
}

.auth-link {
  color: #2563EB;
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
  transition: color 0.18s ease;
}

.auth-link:hover {
  color: #1D4ED8;
  text-decoration: underline;
}

/* Alerts */
.alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  margin-bottom: 14px;
  line-height: 1.45;
}

.alert-error {
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

.alert-info {
  background-color: #EFF6FF;
  color: #1E40AF;
  border: 1px solid #93C5FD;
}

.alert-success {
  background-color: #F0FDF4;
  color: #166534;
  border: 1px solid #86EFAC;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .auth-card-frame {
    flex-direction: column;
    padding: 12px;
  }

  .auth-form-card {
    flex: none;
    padding: 32px 28px;
  }

  .auth-branding-panel {
    min-height: 360px;
    padding: 36px 32px;
  }

  .branding-title {
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  .form-row-2col,
  .role-tabs-grid {
    grid-template-columns: 1fr;
  }

  .features-row,
  .stats-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .auth-form-card {
    padding: 24px 18px;
  }
}