@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
@import url('https://fonts.googleapis.com/css2?family=Sansation:wght@300;400;700&display=swap');

input,
button,
select,
textarea {
  font-family: inherit;
}

body.registration-bg {
  --reg-beige: #DDD0C8;
  --reg-grey: #323232;
  --reg-muted: #6b6b6b;
  --reg-border: rgba(255, 255, 255, 0.5);
  /* Lighter border for glass */
  /* Gradient background to show off glass effect */
  background: linear-gradient(135deg, #DDD0C8 0%, #F5EFEA 100%);
  color: var(--reg-grey);
  font-family: 'Sansation', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  min-height: 100vh;
  /* Ensure full height for gradient */
}

body.registration-bg .registration-centerbox {
  background: rgba(255, 255, 255, 0.65);
  /* Semi-transparent */
  backdrop-filter: blur(12px);
  /* The Blur Effect */
  -webkit-backdrop-filter: blur(12px);
  /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  /* Slightly rounder */
  padding: 32px;
  /* More breathing room */
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  /* Soft, deep shadow */
  width: min(840px, calc(100% - 32px));
  margin: 40px auto;
}

body.registration-bg h2 {
  color: var(--reg-grey);
  font-weight: 700;
  margin-top: 0;
}

body.registration-bg .mandatory-note {
  color: var(--reg-muted);
  margin-bottom: 12px;
}

body.registration-bg .txt_box {
  background: #ffffff;
  border: 2px solid var(--reg-border) !important;
  color: var(--reg-grey);
  border-radius: 8px !important;
  padding: 12px 14px !important;
  width: 100% !important;
  box-sizing: border-box;
  display: block;
  margin-bottom: 12px;
}

body.registration-bg .txt_box:focus {
  border-color: var(--reg-grey) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(50, 50, 50, 0.12) !important;
}

body.registration-bg .button_box {
  background: var(--reg-grey);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
}

body.registration-bg .button_box:hover {
  background: #4a4a4a;
}

body.registration-bg .progress-bar {
  height: 6px;
  background: var(--reg-border);
  border-radius: 999px;
  overflow: hidden;
  margin: 16px 0;
  width: 100%;
}

body.registration-bg .progress-fill {
  height: 100%;
  background: var(--reg-grey);
}

body.registration-bg .progress-fill.step-1 {
  width: 20%;
}

body.registration-bg .progress-fill.step-2 {
  width: 40%;
}

body.registration-bg .progress-fill.step-3 {
  width: 60%;
}

body.registration-bg .progress-fill.step-4 {
  width: 80%;
}

body.registration-bg .progress-fill.step-5 {
  width: 100%;
}

body.registration-bg .field-note {
  color: var(--reg-muted);
}

body.registration-bg .g-recaptcha {
  margin-top: 8px;
}

body.registration-bg .summary-card {
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background: #f8fafc;
  margin-bottom: 16px;
}

body.registration-bg .summary-card div {
  line-height: 1.6;
  margin-bottom: 6px;
}

body.registration-bg .error-msg {
  background: #fee2e2;
  color: #991b1b;
  border: 2px solid #fecaca;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 8px 0 12px;
}

body.registration-bg .success-msg {
  background: #dcfce7;
  color: #065f46;
  border: 2px solid #bbf7d0;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 8px 0 12px;
}

body.registration-bg .brand-top {
  text-align: center;
  margin: 12px 0 16px;
}

body.registration-bg .brand-top img {
  width: 100px;
  height: auto;
  display: inline-block;
}

@media (max-width: 768px) {
  body.registration-bg .registration-centerbox {
    width: calc(100% - 32px);
    padding: 16px;
    margin: 16px auto;
    border-radius: 10px;
  }

  body.registration-bg h2 {
    font-size: 1.25rem;
  }

  body.registration-bg .button_box {
    width: 100%;
    display: inline-flex;
    justify-content: center;
  }
}

@media (min-width: 769px) {
  body.registration-bg h2 {
    font-size: 1.5rem;
  }
}