:root {
  --color-primary: #1c3a5e;
  --color-accent: #f5a624;
  --color-bg-light: #eef2f7;
}

body {
font-family: 'Inter', sans-serif!important;
  background-color: var(--color-bg-light);
  color: var(--color-primary);
}

.brand-panel {
    background: #233c56;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}
.brand-logo {
  height: 70px;
  width: auto;
}
.btn:focus-visible{
    background-color: var(--color-primary)!important;
    color: #ffffff!important;
}
.btn:disabled{
    background-color: var(--color-primary)!important;
    color: #ffffff!important;
}

.btn.btn-primary-custom:focus-visible{
    background-color: var(--color-primary)!important;
    color: #ffffff!important;
}
.alert-danger {
    background: #fdecec;
    color: #d32f2f;
    border: 1px solid #f5b5b5;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 15px;
}
.error-msg {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    font-weight: 500;
}
.alert-success {
    background: #eaf7ee;
    color: #198754;
    border: 1px solid #b7e4c7;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 15px;
}
.brand-title {
    font-weight: 700;
    font-size: 37px;
}
.brand-subtitle {
      color: #c9d0d7;
    font-size: 18px;
    max-width: 420px;
    letter-spacing: .3px;
    line-height: 31px;
}
.feature-item span {
    color: #c9d0d7;
}
.brand-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 1.05rem;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  flex-shrink: 0;
}

.brand-footer {
  color: #8fa1b8;
  font-size: 0.9rem;
}

.form-panel {
  background-color: var(--color-bg-light);
}
.form-wrapper {
    width: 100%;
    max-width: 516px;
}

.portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #ffffff;
  color: var(--color-accent);
  border: 1px solid #cfe0f0;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.9rem;
  border-radius: 50px;
}

.form-title {
    font-weight: 800;
    font-size: 37px;
    color: #000;
}

.form-subtitle {
    color: #5c7089;
    font-size: 17px;
}

.form-label {
    font-weight: 600;
    color: #000;
}

.input-icon-group {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon {
    position: absolute;
    left: 1rem;
    color: #8fa1b8;
    font-size: 20px;
}
.custom-input {
    padding-left: 2.75rem;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    background-color: #ffffff;
    border: 1px solid #dbe3ec;
    border-radius: 10px;
    height: 57px;
    font-size: 16px;
}
.input-icon-btn i{
      font-size: 22px;
}
.custom-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(28, 58, 94, 0.15);
}

.input-icon-btn {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: #8fa1b8;
  padding: 0;
}

.link-accent {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.link-accent:hover {
  text-decoration: underline;
  color: var(--color-accent);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-primary-custom {
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 14px;
    border-radius: 10px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    gap: 0.5rem;
    font-size: 18px;
    letter-spacing: .2px;
}
.btn-primary-custom:hover {
  background-color: #14304f;
  color: #ffffff;
}

.support-text {
  color: #5c7089;
}
.info-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background-color: transparent;
    color: #1e40af;
    border-radius: 10px;
    padding: 1rem;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid #1e40af4f;
}
.info-alert i {
    margin-top: 0;
    background: #1e40af;
    width: 25px;
    height: 25px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 15px;
}
.btn-primary-custom i.bx.bxs-send{
transform: rotate(310deg);
}
.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    color: #fff!important;
    background-color:var(--color-primary)!important;
    border-color: var(--color-primary)!important;
}
a:hover{
    text-decoration: none!important;
}
.back-login {
    text-align: center;
    margin-top: 20px;
}

.back-login a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1f4770;
 font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.back-login a:hover {
    color: #f7941d;
}
@media(max-width:1680px){
     .info-alert {
        font-size: 13px;
        font-weight: 500;
        padding: 13px;
        gap: 8px;
    }  .info-alert i {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }.btn-primary-custom {
    font-size: 15px;
    letter-spacing: .3px;
}.btn-primary-custom i.bx.bxs-send {
    transform: rotate(310deg);
    font-size: 14px;
}
    .form-text {
    font-size: 14px;
}
    .brand-title {
        font-size: 28px;
}.brand-subtitle {
    font-size: 16px;
    line-height: 28px;
}.feature-item {
    gap: 9px;
    font-size: 15px;
}
.feature-icon {
    width: 40px;
    height: 40px;}
    .portal-badge {
    font-size: 11px;
    margin-bottom: 10px !important;
}.form-title {
    font-size: 32px;
}
.form-subtitle {
    font-size: 16px;
}.form-label {
    font-size: 15px;
}
.custom-input {
    height: 52px;
    font-size: 14px;
}.input-icon-btn i {
    font-size: 18px;
}
.input-icon {
    font-size: 18px;
}.link-accent {
    font-size: 14px;
}.support-text {
    font-size: 14px;
}
}

@media(max-width:1080px)
{
    .brand-panel {
    padding: 22px !important;
}
}
@media (max-width: 991.98px) {
  .brand-panel {
    padding: 2.5rem !important;
  }

  .brand-title {
    font-size: 1.75rem;
  }

  .brand-features {
    margin: 2rem 0;
  }
}
@media(max-width:768px){
    .brand-features{
        display: none;
    }
    .brand-footer{
        display: none;
    }
}
@media (max-width: 575.98px) {
  .form-title {
    font-size: 1.75rem;
  }
}


/* =========================
   RESPONSIVE DESIGN
========================= */

/* Large Screens */
@media (max-width: 1199.98px) {
    .brand-title,
    .form-title {
        font-size: 32px;
    }

    .brand-subtitle {
        font-size: 16px;
        line-height: 28px;
    }
}

/* Tablet */
@media (max-width: 991.98px) {

    .row.min-vh-100 {
        min-height: auto !important;
    }

    .brand-panel {
        padding: 2rem !important;
    }

    .form-panel {
        padding: 2rem !important;
    }

    .brand-title,
    .form-title {
        font-size: 30px;
    }

    .brand-subtitle {
        max-width: 100%;
        font-size: 16px;
        line-height: 28px;
    }

    .brand-features {
        margin: 1.5rem 0;
        gap: 1rem;
    }

    .feature-item {
        font-size: 16px;
    }

    .form-wrapper {
        max-width: 100%;
    }

    .brand-footer {
        margin-top: 20px;
    }
}


/* Mobile Devices */
@media (max-width: 767.98px) {
    .brand-title, .form-title {
        font-size: 27px;
        margin-top: 21px !important;
    }
    .brand-panel {
        padding: 1.5rem !important;
    }

    .form-panel {
        padding: 1.5rem !important;
    }

    .brand-logo {
        height: 55px;
    }

    .brand-title,
    .form-title {
        font-size: 28px;
    }

    .brand-subtitle, .form-subtitle {
        font-size: 15px;
        line-height: 26px;
        margin-bottom: 0;
    }
.brand-footer{
    display: none;
}
    .brand-features {
        display: none;
    }
    .feature-item {
        font-size: 15px;
        gap: 12px;
    }

    .feature-icon {
        width: 38px;
        height: 38px;
    }

    .custom-input {
        height: 52px;
        font-size: 15px;
    }

    .btn-primary-custom {
        font-size: 16px;
        padding: 13px;
    }

    .portal-badge {
        font-size: 12px;
    }

    .info-alert {
        font-size: 14px;
        padding: 15px;
    }
}


/* Small Mobile */
@media (max-width: 575.98px) {
    .brand-title{
        text-align: center;
    }
    .brand-subtitle{
        text-align: center;
    }
     .brand-panel {
        padding: 1.25rem !important;
        text-align: center;
    }
    .form-panel {
        padding: 1.25rem !important;
    }

    .form-wrapper {
        max-width: 100%;
    }

    .brand-title,
    .form-title {
        font-size: 24px;
    }

    .brand-subtitle,
    .form-subtitle {
        font-size: 14px;
        line-height: 24px;
    }

    .feature-item {
        align-items: flex-start;
        font-size: 14px;
    }

    .feature-icon {
        width: 35px;
        height: 35px;
    }

    .custom-input {
        height: 50px;
        font-size: 13px;
        padding-left: 2.6rem;
    }

      .input-icon {
        font-size: 17px;
    }

    .input-icon-btn i {
        font-size: 16px;
    }
     .link-accent {
        font-size: 13px;
        margin-bottom: 0 !important;
    }
     .btn-primary-custom {
        font-size: 14px;
        padding: 11px;
    }
    .btn-primary-custom i.bx.bxs-send {
        font-size: 13px;
    }
    .portal-badge {
        font-size: 10px;
        padding: 8px 14px;
        margin-bottom: 0 !important;
    }   .form-label {
        font-size: 14px;
        margin-bottom: 4px;
    }
.form-title {
        font-size: 22px;
        margin-top: 14px !important;        margin-bottom: 3px;
    }
    .info-alert {
        gap: 8px;
        padding: 9px;
        font-size: 12px;
    }

     .info-alert i {
        width: 18px;
        height: 18px;
        font-size: 9px;
    }
    .support-text {
        font-size: 13px;
    }    .form-text {
        font-size: 13px;
    }
}


/* Extra Small Devices */
@media (max-width: 375px) {

    .brand-title,
    .form-title {
        font-size: 22px;
    }

    .brand-subtitle,
    .form-subtitle {
        font-size: 13px;
        line-height: 22px;
    }

    .custom-input {
        height: 48px;
    }

    .btn-primary-custom {
        font-size: 14px;
    }
}