/* Agent register — theme colors (#021D62 / #003BCA / #FF5F20) */

.agent-register-page {
  position: relative;
  z-index: 1;
  float: none !important;
  width: 100%;
  background: transparent !important;
  padding: 24px 0 56px;
}

.agent-register-bg,
body:has(.agent-register-page) .background_login {
  background: linear-gradient(160deg, #021D62 0%, #003BCA 55%, #0b3fd4 100%) !important;
  filter: none;
}

.agent-register-bg .loadcity,
.agent-register-bg .busrunning,
.agent-register-bg .clodnsun,
.agent-register-bg .reltivefligtgo,
.agent-register-bg .flitfly,
.agent-register-page .background_login .loadcity,
.agent-register-page .background_login .busrunning,
.agent-register-page .background_login .clodnsun,
.agent-register-page .background_login .reltivefligtgo,
.agent-register-page .background_login .flitfly {
  display: none;
}

.agent-register-page .newaddtab::after {
  background: rgba(2, 29, 98, 0.18);
}

.agent-register-page .container {
  float: none;
  max-width: 980px;
}

.agent-register-page .agent_regtr {
  display: block;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 28px 12px;
  overflow: visible;
  background: #f1f5f9;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(2, 29, 98, 0.28);
}

.agent-register-page .agentreg_heading {
  color: #021D62;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 18px;
  padding: 4px 0 18px;
  text-align: left;
  overflow: visible;
}

.agent-register-page .gobacklink {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #003BCA;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.agent-register-page .gobacklink:hover,
.agent-register-page .gobacklink:focus {
  background: linear-gradient(90deg, #021D62 0%, #003BCA 100%);
  border-color: transparent;
  color: #fff;
  text-decoration: none;
}

.agent-register-page .each_sections {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(2, 29, 98, 0.06);
  float: none;
  margin: 0 0 18px;
  overflow: hidden;
}

.agent-register-page .sec_heading {
  background: #fff;
  border-bottom: 1px solid #eef2f7;
  border-radius: 14px 14px 0 0;
  color: #021D62;
  font-size: 18px;
  font-weight: 600;
  line-height: 40px;
  overflow: visible;
  padding: 16px 20px;
}

.agent-register-page .sec_heading > strong {
  background: linear-gradient(90deg, #021D62 0%, #003BCA 100%);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 59, 202, 0.28);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  float: none;
  height: 36px;
  width: 36px;
  line-height: 1;
  margin-right: 12px;
  font-size: 15px;
  font-weight: 700;
  vertical-align: middle;
}

.agent-register-page .inside_regwrp {
  padding: 12px 12px 20px;
}

.agent-register-page .wrap_space {
  margin: 8px 12px 16px;
  overflow: visible;
}

.agent-register-page .label_form {
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 8px;
}

.agent-register-page .label_form .text-danger {
  color: #FF5F20 !important;
}

.agent-register-page .input_form,
.agent-register-page .select_form,
.agent-register-page .input_textarea {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  box-shadow: none;
  color: #334155;
  font-size: 14px;
  height: 44px;
  line-height: 42px;
  padding: 0 14px;
}

.agent-register-page .input_textarea {
  height: 88px;
  line-height: 1.45;
  padding: 10px 14px;
  resize: vertical;
}

.agent-register-page .input_form:focus,
.agent-register-page .select_form:focus,
.agent-register-page .input_textarea:focus {
  border-color: #003BCA;
  box-shadow: 0 0 0 3px rgba(0, 59, 202, 0.12);
  outline: none;
}

.agent-register-page .select_wrap::after {
  background: transparent;
  color: #64748b;
  line-height: 42px;
  width: 32px;
}

.agent-register-page .noborderit {
  border-right: 1px solid #cbd5e1;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.agent-register-page .col-xs-9 .input_form,
.agent-register-page .col-xs-6 .input_form {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.agent-register-page .submitsection {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(2, 29, 98, 0.06);
  margin: 0 0 8px;
  overflow: visible;
  padding: 20px 24px 24px;
}

.agent-register-page .acceptrms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.agent-register-page .acceptrms .squaredThree {
  flex: 0 0 18px;
  margin-top: 2px;
}

.agent-register-page .lbllbl,
.agent-register-page .lbllbl a {
  color: #334155 !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.agent-register-page .lbllbl a {
  color: #003BCA !important;
  text-decoration: none;
}

.agent-register-page .lbllbl a:hover {
  color: #021D62 !important;
  text-decoration: underline;
}

.agent-register-page .btnreg_agent {
  background: #FF5F20 !important;
  border: none !important;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(255, 95, 32, 0.28);
  color: #fff;
  float: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 18px 0 0;
  padding: 14px 42px;
  text-transform: uppercase;
}

.agent-register-page .btnreg_agent:hover,
.agent-register-page .btnreg_agent:focus {
  background: #e5551c !important;
  color: #fff;
}

.agent-register-page .agent_error {
  background: #fef2f2;
  color: #dc2626;
}

.agent-register-page .agent_error::after {
  color: #fef2f2;
}

.agent-register-page .alert-success {
  border: 0;
  border-radius: 12px;
  background: #ecfdf5;
  color: #047857;
}

@media (max-width: 991px) {
  .agent-register-page .agent_regtr {
    padding: 18px 14px 8px;
    border-radius: 16px;
  }

  .agent-register-page .agentreg_heading {
    font-size: 20px;
    padding-right: 88px;
  }
}

@media (max-width: 500px) {
  .agent-register-page {
    padding: 12px 0 32px;
  }

  .agent-register-page .agent_regtr {
    padding: 14px 10px 6px;
  }

  .agent-register-page .btnreg_agent {
    width: 100%;
    padding: 14px 16px;
  }
}
