/* ================================================================
   AUTH — Login · Register · Reset Password
   ================================================================ */
.rw-input {
  background: transparent;              /* fully transparent */
  border: 1px solid rgba(255,255,255,0.6); /* border color */
  color: #ffffff;                       /* text color */
  padding: 12px 14px;
  border-radius: 8px;
  width: 100%;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}


/* placeholder color */
.rw-input::placeholder {
  color: rgba(255, 255, 255, 0.417);
}

/* focus state */
.rw-input:focus {
  border-color: #4da3ff;          
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
  background: transparent;              /* fully transparent */

}
.auth-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 32px 16px;
  min-height: calc(100svh - 20svh); /* Account for navbar height */
  
  background: linear-gradient(rgba(37, 99, 235, 0.7), rgba(15, 23, 42, 0.7)),
              url('../images/cover_new.jpg') center/cover no-repeat;
}

.auth-card {
  width: 100%;
  max-width: 480px;

  /* Glass background */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  /* Shape */
  border-radius: 18px;
  padding: 40px;

  /* Glass border */
  border: 1px solid rgba(255, 255, 255, 0);

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.rw-hero__content__auth {
  position: relative;
  z-index: 2;
  padding: 48px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  margin: 30px;
  min-width: 500px;
}
.auth-title {
  font-weight: 600;
  text-align: center;
  margin-bottom: 25px;
}

/* Form inputs */
.form-control {
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid #dddddd75;
  transition: border-color 0.2s ease;
  width: 100%;
}
.form-control:focus {
  border-color: var(--brand-blue-light);
  box-shadow: 0 0 0 3px rgba(19, 59, 222, 0.1);
  outline: none;
}

.error-text { font-size: 0.8rem; color: #dc3545; margin-top: 4px; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 576px) {
  .auth-section { padding: 70px 12px; }
  .auth-card { padding: 28px 20px; border-radius: 14px; }
  .auth-title { font-size: 1.3rem; }
    .rw-hero__content__auth {
  position: relative;
  z-index: 2;
  padding: 48px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  margin: 30px;
  min-width: 70%;
}
}
@media (max-width: 400px) {
  .auth-card { padding: 22px 16px; }

}
/* ================================================================
   REGISTER PAGE — Split-screen layout
   Left: hero image + branding  |  Right: form
   ================================================================ */

/* ── Page shell ── */
.rw-register-page {
  display: flex;
  min-height: 100vh;
  background: #f8f6f6;
}

/* ════════════════════════════════════════════
   LEFT PANEL
════════════════════════════════════════════ */
.rw-reg-left {
  position: relative;
  width: 48%;
  flex-shrink: 0;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  background: var(--brand-blue-dark);
}

.rw-reg-left__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.rw-reg-left__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(34, 56, 145, 0.85) 0%,
    rgba(15, 23, 42, 0.75) 100%
  );
  z-index: 1;
}

.rw-reg-left__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 40px;
}

/* Brand */
.rw-reg-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rw-reg-brand__icon {
  width: 44px;
  height: 44px;
  background: var(--brand-orange);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rw-reg-brand__icon .material-symbols-outlined {
  font-size: 26px;
  color: white;
}
.rw-reg-brand__name {
  color: white;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
}

/* Headline */
.rw-reg-headline { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.rw-reg-headline__title {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.rw-reg-headline__sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  max-width: 380px;
  margin: 0;
}

/* Social proof */
.rw-reg-proof {
  display: flex;
  align-items: center;
  gap: 14px;
}
.rw-reg-proof__avatars {
  display: flex;
}
.rw-reg-proof__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(34, 56, 145, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-left: -10px;
  flex-shrink: 0;
}
.rw-reg-proof__avatar:first-child { margin-left: 0; }
.rw-reg-proof__avatar--1 { background: #2563eb; }
.rw-reg-proof__avatar--2 { background: #059669; }
.rw-reg-proof__avatar--3 { background: #d97706; }
.rw-reg-proof__avatar--4 { background: #7c3aed; }

.rw-reg-proof__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  margin: 0;
}
.rw-reg-proof__text strong {
  color: var(--brand-orange);
  font-weight: 700;
}

/* ════════════════════════════════════════════
   RIGHT PANEL
════════════════════════════════════════════ */
.rw-reg-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  overflow-y: auto;
  background: #f8f6f6;
}

.rw-reg-form-wrap {
  width: 100%;
  max-width: 480px;
}

/* Mobile logo */
.rw-reg-mobile-brand {
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  color: var(--brand-blue-dark);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 1px;
}
.rw-reg-mobile-brand .material-symbols-outlined {
  font-size: 28px;
  color: var(--brand-orange);
}

/* Heading */
.rw-reg-heading { margin-bottom: 28px; }
.rw-reg-heading__title {
  font-size: 1.9rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
  margin: 0 0 6px;
}
.rw-reg-heading__sub {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

/* ── Form inputs ── */
.rw-reg-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.rw-reg-input-wrap {
  position: relative;
}
/* Label */
.rw-reg-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111827;
  font-size: 14px;
}

/* Wrapper */
.rw-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* Icon (left) */
.rw-input-icon {
  position: absolute;
  left: 12px;
  color: #9ca3af;
  font-size: 20px;
}

/* Select */
.rw-select {
  width: 100%;
  padding: 12px 40px 12px 40px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  background-color: #fff;
  appearance: none;
  transition: all 0.2s ease;
}

/* Dropdown arrow (right) */
.rw-select-arrow {
  position: absolute;
  right: 12px;
  pointer-events: none;
  color: #9ca3af;
}

/* Hover */
.rw-select:hover {
  border-color: #9ca3af;
}

/* Focus (important 🔥) */
.rw-select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Disabled placeholder */
.rw-select option[value=""] {
  color: #9ca3af;
}
.rw-reg-input-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 19px !important;
  color: #94a3b8;
  pointer-events: none;
  z-index: 5;
}

.rw-reg-input {
  width: 100%;
  padding: 12px 14px 12px 42px !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-family: 'Poppins', sans-serif !important;
  color: #0f172a !important;
  background: white !important;
  transition: border-color .2s, box-shadow .2s !important;
  outline: none !important;
}
.rw-reg-input:focus {
  border-color: var(--brand-blue-light) !important;
  box-shadow: 0 0 0 3px rgba(19, 59, 222, 0.1) !important;
  background: white !important;
}
.rw-reg-input::placeholder {
  color: #94a3b8 !important;
}
.rw-reg-input.is-invalid {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08) !important;
}

/* input[type=date] icon overlap fix */
.rw-reg-input[type="date"] {
  color-scheme: light;
}

.rw-reg-error {
  font-size: 12px;
  color: #dc2626;
  margin-top: 5px;
  font-weight: 500;
}


/* ── Submit button ── */
.rw-reg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--brand-blue-dark);
  color: white;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  text-decoration: none;
}
.rw-reg-btn:hover:not(:disabled) {
  background: var(--brand-blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(19, 59, 222, 0.3);
  color: white;
}
.rw-reg-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.rw-reg-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: white;
  border-radius: 50%;
  animation: rw-spin .7s linear infinite;
  vertical-align: middle;
}
@keyframes rw-spin { to { transform: rotate(360deg); } }

/* ── Error alert ── */
.rw-reg-alert-error {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  color: #dc2626;
  font-size: 13px;
  font-weight: 500;
}
.rw-reg-alert-error .material-symbols-outlined { font-size: 18px; flex-shrink: 0; }

/* ── Login link ── */
.rw-reg-login-link {
  text-align: center;
  font-size: 13.5px;
  color: #64748b;
  margin: 20px 0 0;
}
.rw-reg-login-link a {
  color: var(--brand-blue-dark);
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
}
.rw-reg-login-link a:hover { text-decoration: underline; }

/* ── Stats footer ── */
.rw-reg-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}
.rw-reg-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.rw-reg-stat__num {
  font-size: 1.4rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}
.rw-reg-stat__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  white-space: nowrap;
}
.rw-reg-stat__divider {
  width: 1px;
  height: 32px;
  background: #e2e8f0;
}

/* ── Success state ── */
.rw-reg-success {
  text-align: center;
  padding: 20px 0;
}
.rw-reg-success__icon {
  width: 72px;
  height: 72px;
  background: #f0fdf4;
  border: 2px solid #bbf7d0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.rw-reg-success__icon .fas {
  font-size: 2rem;
  color: #059669;
}
.rw-reg-success__title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}
.rw-reg-success__sub {
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  max-width: 360px;
  margin: 0 auto;
}

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 991px) {
  .rw-register-page { flex-direction: column; }
  .rw-reg-right {
    padding: 36px 20px 48px;
    min-height: 100vh;
  }
}

@media (max-width: 480px) {
  .rw-reg-heading__title { font-size: 1.5rem; }
  .rw-reg-form-wrap { max-width: 100%; }
  .rw-reg-stats { gap: 16px; }
}
/* ================================================================
   LOGIN PAGE — Full-screen hero + centered glass card
   Matches Tailwind design, Bootstrap + AngularJS
   ================================================================ */

.rw-login-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 16px 40px; /* top pad for fixed navbar */
}

/* ── Background ── */
.rw-login-bg {
  position: fixed;
  inset: 0;
  background: url('../images/cover_new.jpg') center / cover no-repeat;
  z-index: 0;
}

.rw-login-overlay {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(8px);
  background: linear-gradient(90deg, rgba(0, 161, 219, 0.5) 0%, rgba(34, 56, 145, 0.2) 50%, rgba(248, 158, 69, 0.3) 100%);
  z-index: 1;
}

/* ── Card wrap ── */
.rw-login-card-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
}

/* ── Glass card ── */
.rw-login-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  padding: 36px 36px 32px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}

/* ── Header ── */
.rw-login-card__header {
  text-align: center;
  margin-bottom: 28px;
}
.rw-login-card__title {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--brand-blue-dark);
  letter-spacing: -0.5px;
  margin: 0 0 6px;
}
.rw-login-card__sub {
  font-size: 13.5px;
  color: #475569;
  margin: 0;
}

/* ── Fields ── */
.rw-login-field {
  margin-bottom: 18px;
}

.rw-login-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 7px;
}

.rw-login-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}
.rw-login-label-row .rw-login-label { margin-bottom: 0; }

.rw-login-forgot {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-orange);
  text-decoration: none;
}
.rw-login-forgot:hover { text-decoration: underline; color: var(--brand-orange); }

/* ── Input ── */
.rw-login-input-wrap {
  position: relative;
}
.rw-login-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 19px !important;
  color: #94a3b8;
  pointer-events: none;
  z-index: 5;
}

.rw-login-input {
  width: 100%;
  height: 52px;
  padding: 0 14px 0 46px !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 14px !important;
  font-size: 14px !important;
  font-family: 'Poppins', sans-serif !important;
  color: #0f172a !important;
  background: rgba(255, 255, 255, 0.55) !important;
  transition: border-color .2s, box-shadow .2s, background .2s !important;
  outline: none !important;
}
.rw-login-input:focus {
  border-color: var(--brand-blue-light) !important;
  box-shadow: 0 0 0 3px rgba(19, 59, 222, 0.12) !important;
  background: rgba(255, 255, 255, 0.9) !important;
}
.rw-login-input::placeholder { color: #94a3b8 !important; }
.rw-login-input.is-invalid {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08) !important;
}

.rw-login-error {
  font-size: 12px;
  color: #dc2626;
  font-weight: 500;
  margin-top: 5px;
}

/* ── Submit button ── */
.rw-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 20px;
  background: var(--brand-orange);
  color: white;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(248, 158, 69, 0.4);
  transition: background .2s, transform .15s, box-shadow .2s;
  margin-top: 8px;
}
.rw-login-btn:hover:not(:disabled) {
  background: #e8890a;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(248, 158, 69, 0.45);
}
.rw-login-btn:active:not(:disabled) {
  transform: scale(0.98);
}
.rw-login-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.rw-login-spinner {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: white;
  border-radius: 50%;
  animation: rw-login-spin .7s linear infinite;
}
@keyframes rw-login-spin { to { transform: rotate(360deg); } }

/* ── Alerts ── */
.rw-login-alert-error,
.rw-login-alert-success {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
}
.rw-login-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}
.rw-login-alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}
.rw-login-alert-error .material-symbols-outlined,
.rw-login-alert-success .material-symbols-outlined { font-size: 18px; flex-shrink: 0; }

/* ── Divider ── */
.rw-login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 16px;
}
.rw-login-divider__line {
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}
.rw-login-divider__text {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #94a3b8;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* ── Register link ── */
.rw-login-register-link {
  text-align: center;
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
}
.rw-login-register-link a {
  color: var(--brand-blue-dark);
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
}
.rw-login-register-link a:hover { text-decoration: underline; }

/* ── Reset form ── */
.rw-login-reset-header {
  text-align: center;
  margin-bottom: 24px;
}
.rw-login-reset-icon {
  font-size: 44px !important;
  color: var(--brand-blue);
  background: #eff6ff;
  border-radius: 50%;
  padding: 10px;
  width: 68px; height: 68px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  border: 2px solid #bfdbfe;
}
.rw-login-reset-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}
.rw-login-reset-sub {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.rw-login-back-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-blue);
  text-decoration: none;
}
.rw-login-back-link:hover { text-decoration: underline; color: var(--brand-blue); }

/* ── Responsive ── */
@media (max-width: 480px) {
  .rw-login-card { padding: 28px 20px 24px; border-radius: 16px; }
  .rw-login-card__title { font-size: 1.5rem; }
}