/* Prevent page scroll, only right panel scrolls */
body, html {
  overflow-x: hidden;
  overflow-y: hidden;
  height: 100vh;
}

.container-fluid {
  height: 100vh;
  overflow: hidden;
}

#mobile-venue-footer {
  background-color: #0F172A;
  color: #ffffff;
}

#mobile-venue-footer div {
  max-width: 640px;
}

/* ================= LEFT PANEL ================= */

.rpc-2026-left {
  position: sticky;
  top: 0;
  /* min-height: 100vh; */
  background: url('/static/2026/images/registration-background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.rpc-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(159.3deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 100%);
  z-index: 1;
}

.rpc-2026-left::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.rpc-content {
  position: relative;
  z-index: 2;
  margin-top: 0px;
  width: 640px;
  margin-inline: auto;
}

.conference-title {
  font-family: "Rakuten Sans", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 60px;
  letter-spacing: -1.2px;
  vertical-align: middle;
  text-transform: uppercase;
}

.rpc-year {
  font-family: "Rakuten Sans", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0px;
  vertical-align: middle;
}

.rpc-pill {
  background: rgba(255, 0, 60, 0.15);
  border: 1px solid #ff004c;
  color: #ff4d6d;
  font-family: "Rakuten Sans", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0px;
  vertical-align: middle;
}

.form-check-input:checked {
  background-color: #ff004c;
  border-color: #ff004c;
}
.form-check-input:focus {
  box-shadow: none;
}

.rpc-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #ff4d6d;
}

.event-detail-value {
  font-family: "Rakuten Sans", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0px;
  vertical-align: middle;
}

.event-detail-label {
  font-family: "Rakuten Sans", sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1.2px;
  vertical-align: middle;
  text-transform: uppercase;
}

/* ================= RIGHT PANEL ================= */

.full-height {
  min-height: 100vh;
  background: #ffffff;
  overflow-x: hidden;
}

#registration-form {
  max-width: 640px;
  width: 100%;
  box-sizing: border-box;
  height: 90vh;
  border: none;
  box-shadow: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Header styling to match image */

.form-header {
  margin-bottom: 16px;
  flex-shrink: 0;
}

.form-scrollable-content {
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
}

.registration-form-title {
  font-family: "Rakuten Sans", sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: 0px;
  color: #0F172A;
  margin-bottom: 8px;
}

.registration-subtitle {
  font-family: "Rakuten Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
  color: #6c757d;
  margin-bottom: 0;
}

/* OAuth buttons */

/* OAuth Buttons */

.oauth-btn {
  width: 290px;
  align-self: center;
  height: 40px;
  font-family: "Rakuten Sans", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 0px;
  color: #3c4043;
  padding: 12px;
  padding-left: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 4px;
  border: 1px solid #DBDCE0;
  position: relative;
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}
.oauth-btn:hover {
  border-color: rgb(210, 227, 252);
  background-color: rgba(66,133,244,.08);
}
.oauth-btn img {
  position: absolute;
  left: 12px;
}

.auth-source-label {
  font-weight: 600;
  font-size: 12px;
  line-height: 18px;
  color: #35B3CC;
  background-color: #D7F5F2;
  border-radius: 10px;
  display: inline-block;
  height: 18px;
  padding: 8px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
}

.roboto-regular {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

@media screen and (min-width: 640px) {
  .rpc-content {
    max-width: none;
    margin-inline: auto;
  }
  .oauth-btn {
    width: 400px;
  }
  .form-header {
    margin-bottom: 32px;
  }
}

.oauth-btn img,
.oauth-btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.form-section-divider {
  font-family: "Rakuten Sans", sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #999;
  margin: 25px 0;

  display: flex;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.form-section-divider::before,
.form-section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #eee;
}

.role-option {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  font-family: "Rakuten Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
  vertical-align: middle;
  color: #0F172A;
  width: 100%;
  max-width: 100%;
  height: 52px;
  align-items: center;
}

.role-option input {
  margin-right: 8px;
  accent-color: #0F172A;
}

.form-control, .form-select {
  height: 50px;
  font-weight: 400;
  width: 100%;
  max-width: 665px;
}

.form-control::placeholder {
  color: #333333;
  opacity: 0.8;
  font-weight: 50;
  font-size: 14px;
}

.form-control:focus, .form-select:focus {
  box-shadow: none;
  outline: none;
  border-color: #0F172A;
}

.form-control.is-invalid,
.form-select.is-invalid,
.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
  border-color: #ff004c;
  box-shadow: none;
}
.form-control.is-invalid:focus,
.form-select.is-invalid:focus,
.was-validated .form-control:invalid:focus,
.was-validated .form-select:invalid:focus {
  border-color: #ff004c;
  box-shadow: none;
  outline: none;
}
 
.form-label {
  font-family: "Rakuten Sans", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0px;
  vertical-align: middle;
  display: flex;
}

.form-check-label {
  font-family: "Rakuten Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 12px;
  line-height: 19.5px;
  letter-spacing: 0px;
}

.section-header {
  font-family: "Rakuten Sans", sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1.2px;
  vertical-align: middle;
  text-transform: uppercase;
  color: #999;
}

.register-btn {
  background-color: #ff2d55;
  border: none;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  font-family: "Rakuten Sans", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 1.6px;
  text-align: center;
  vertical-align: middle;
  text-transform: uppercase;
  color: #FFFFFF;
}

.register-btn:hover,.register-btn:disabled {
  color: #FFFFFF;
  background-color: #e6003df1;
}

.register-btn .register-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border-width: 2px;
  color: #FFFFFF;
  flex-shrink: 0;
}

.register-btn.loading .register-spinner {
  display: inline-block;
}

.register-btn-text {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 991px) {
  .rpc-2026-left {
    /* min-height: 650px; */
    /* padding: 3rem !important; */
    position: relative;
  }

  body, html {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
  }

  .container-fluid {
    height: auto;
    overflow-x: hidden;
    overflow-y: visible;
  }

  #registration-form {
    max-height: none;
    overflow-y: visible;
    height: auto;
  }

  .form-scrollable-content {
    overflow-y: visible;
  }
}

@media screen and (min-width: 992px) {
  .rpc-2026-left {
    min-height: 100vh;
  }
}

#registration-form-error {
  margin-top: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#registration-form-error-message {
  color: #dc3545;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 0;
  text-align: center;
}
