/* ===== REGISTER PAGE ===== */
.register-main {
  min-height: calc(100vh - 64px);
  padding: 80px 48px 80px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.register-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1100px;
  width: 100%;
}

/* LEFT INFO */
.register-info {
  padding-top: 8px;
}

.register-heading {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.register-subtext {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 420px;
}

.register-subtext strong {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

.register-info-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.info-point {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.info-point svg {
  width: 18px;
  height: 18px;
  color: #c41e3a;
  flex-shrink: 0;
}

.register-rules-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 4px;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.register-rules-link:hover {
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}

.register-rules-link svg {
  width: 14px;
  height: 14px;
}

/* RIGHT FORM */
.register-form-wrap {
  background: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 48px 44px;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  height: fit-content;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Form groups */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.required {
  color: #c41e3a;
}

.optional {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.78rem;
}

.form-group input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 14px 16px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
  width: 100%;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.form-group input.input-error {
  border-color: #c41e3a;
}

.field-error {
  font-size: 0.78rem;
  color: #e8667a;
  min-height: 14px;
}

/* Checkbox */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
}

.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: #c41e3a;
  margin-top: 2px;
  cursor: pointer;
}

.form-checkbox label {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  line-height: 1.5;
}

.form-checkbox label a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-checkbox label a:hover {
  color: white;
}

.register-submit {
  margin-top: 20px;
  width: 100%;
  text-align: center;
  padding: 16px;
  font-size: 0.92rem;
  /* clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); */
}

.google-signin svg {
  width: 20px;
  display: inline;
}

/* Success state */
.register-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
  gap: 16px;
}

.success-icon svg {
  width: 56px;
  height: 56px;
  color: #4ade80;
}

.register-success h2 {
  font-size: 1.6rem;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 700;
}

.register-success p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 340px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .register-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .register-main {
    padding: 48px 24px 60px;
  }

  .register-form-wrap {
    padding: 36px 28px;
  }
}

.payment-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.payment-card {
  background: #0f0f0f;
  display: flex;
  flex-direction: column;
  padding: 40px;
  border-radius: 14px;
  text-align: left;
  max-width: 420px;
}

.payment-info {
  margin: 20px 0;
  text-align: left;
}

#payBtn {
  margin-top: 20px 0;
}

.modal-back {
  margin-top: 20px;
  display: flex;
  border: none;
  width: 100%;
  background: none;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1rem;
  padding: 10px;
  opacity: 0.7;
  font-family: "Inter", sans-serif;
}

.loginBtn {
  margin-top: 20px;
  width: 100%;
}

/* Google Signin button */

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #777;
  margin: 20px 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid rgb(255, 255, 255, 0.1);
}

.divider:not(:empty)::before {
  margin-right: 10px;
}

.divider:not(:empty)::after {
  margin-left: 10px;
}

.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: #131314;
  background-image: none;
  border: 1px solid #747775;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #e3e3e3;
  cursor: pointer;
  font-family: "Roboto", arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  -webkit-transition:
    background-color 0.218s,
    border-color 0.218s,
    box-shadow 0.218s;
  transition:
    background-color 0.218s,
    border-color 0.218s,
    box-shadow 0.218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  /* max-width: 400px; */
  min-width: min-content;
  border-color: #8e918f;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 10px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: center;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 0;
  flex-grow: 0;
  font-family: "Roboto", arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity 0.218s;
  transition: opacity 0.218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #13131461;
  border-color: #8e918f1f;
}

.gsi-material-button:disabled .gsi-material-button-state {
  background-color: #e3e3e31f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state,
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: white;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow:
    0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
  box-shadow:
    0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: white;
  opacity: 8%;
}
