:root {
  --color-navy-dark: #314559;
  --color-navy: #2c3e50;
  --color-navy-light: #34495e;
  --color-gold: #f5a623;
  --color-gold-dark: #e0951a;
  --color-white: #ffffff;
  --color-page-bg: #f4f6f9;
  --color-text-heading: #1a2233;
  --color-text-body: #4b5563;
  --color-text-muted: #6b7280;
  --color-text-placeholder: #94a3b8;
  --color-border: #e2e8f0;
  --color-icon-blue: #6b7fb0;
  --color-input-icon-bg: #eef2fb;
  --light-grey:#818ea8;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 10px 40px rgba(15, 23, 42, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    font-family: 'Roboto'!important;
  background-color: var(--color-page-bg);
  color: var(--color-text-body);
  min-height: 100vh;
}


.auth-page {
  display: flex;
  min-height: 100vh;
}

.brand-panel {
    flex: 0 0 50%;
    max-width: 520px;
  background: var(--color-navy-dark);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 56px;
}

.brand-panel__top {
  display: flex;
  flex-direction: column;
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.brand-logo img {
    margin-bottom: 13px;
    /* height: 51%; */
    /*width: 151px;*/
}
.brand-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 40px;
}
.auth-card img{
    /*width: 124px;*/
    margin-bottom: 26px;
}

.brand-title {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: .6px;
}

.brand-subtitle {
    font-size: 1.05rem;
    color: rgb(255 255 255 / 72%);
    margin-bottom: 32px;
}
.brand-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 18px;
}
.brand-features li {
    font-size: 0.98rem;
    color: rgb(255 255 255 / 74%);
    font-weight: 400;
    letter-spacing: .2px;
position: relative;
}

.brand-features li:before {
    content: "";
    width: 8px;
    height: 8px;
    position: absolute;
    top: 5px;
    left: -14px;
    border-radius: 50%;
    background-color:  rgb(255 255 255 / 74%);
}
.brand-panel__bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brand-secure {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
}

.brand-secure svg {
  flex-shrink: 0;
  color: var(--color-gold);
}

.brand-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.content-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.auth-card {
    width: 100%;
    max-width: 520px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 47px 40px;
    text-align: center;
    border: 1px solid #ddddddb8;
    box-shadow: rgba(0, 0, 0, 0.09) 0px 3px 12px;
}
.auth-card__logo {
  height: 84px;
  width: auto;
  margin: 0 auto 20px;
  display: block;
}

.auth-card__icon {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #e8f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 36px;
    color: var(--color-gold);
}
.auth-card__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text-heading);
    margin-bottom: 10px;
}

.auth-card__subtitle {
    font-size: 17px;
    color: var(--light-grey);
    line-height: 1.6;
    margin-bottom: 32px;
    font-weight: 400;
}

.form-group {
  text-align: left;
  margin-bottom: 22px;
}

.form-label {
    display: block;
    font-size: 17px;
    font-weight: 500;
    color: var(--color-text-heading);
    margin-bottom: 8px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper .input-icon {
  position: absolute;
  left: 16px;
  color: var(--color-icon-blue);
  display: flex;
  align-items: center;
  pointer-events: none;
}
.input-wrapper input {
    width: 100%;
    font-size: 1rem;
    color: var(--color-text-heading);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 16px 16px 16px 48px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    font-weight: 500;
    letter-spacing: .4px;
  
}
.input-wrapper input::placeholder {
  color: var(--color-text-placeholder);
}

.input-wrapper input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}

.input-wrapper .toggle-password {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  padding: 0;
}

.btn-primary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--color-gold);
    color: var(--color-text-heading);
    font-size: 17px;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-md);
    padding: 16px 24px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.05s ease;
    margin-top: 6px;
    font-family: 'Roboto';
    letter-spacing: .3px;
}
.btn-primary svg{
  width: 17px;
}

.btn-primary:hover {
  background: var(--color-gold-dark);
}

.btn-primary:active {
  transform: translateY(1px);
}
.auth-link {
    display: inline-block;
    margin-top: 21px;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    letter-spacing: .2px;
}
.auth-link:hover {
  color: var(--color-gold-dark);
}

.form-footer {
  display: flex;
  justify-content: center;
}

.error-msg {
    color: red;
    letter-spacing: .2px;
    display: flex;
    margin-top: 6px;
}
a.login-back-btn {
    background: #fff;
    padding: 13px;
    border: 1px solid #dddd;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #f5a623;
    text-decoration: none;
    margin-top: 1rem;
    border-radius: 10px;
    gap: 9px;
    line-height: 22px;
    letter-spacing: .3px;
}
.alert.alert-danger {
    background: #ffdede;
    color: #d8261a;
    padding: 13px 10px;
      font-weight: 500;
    border: 1px solid #d8261a;
    border-radius: 5px;
    margin: 10px 0 20px;
}
.alert.alert-success{
      background: #e6ffea;
    color:#28A745;
    font-weight: 500;
    padding: 13px 10px;
    border: 1px solid #28A745;
    border-radius: 5px;
    margin: 10px 0 20px;
}
#btnText i.bx.bx-send {
    transform: rotate(311deg);
    font-size: 16px;
    margin-bottom: 2px;
}
span#btnText {
    display: flex;
    align-items: center;
    gap: 4px;
}


.back-login{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-top: 18px;
    color:#666;
    text-decoration:none;
    font-size:15px;
    font-weight:500;
    transition:.3s;
}

.back-login:hover{
    color:#f9a825;
}
@media(max-width:1680px){

    /*
    .brand-logo img {
         width: 110px;
    }
    */
    .brand-title {
        font-size: 24px;
        line-height: 0.75;
    }
    .brand-subtitle {
        font-size: 14px;
    } 
    .brand-features li {
        font-size: 15px;
    }
.brand-panel {
    max-width: 460px; 
    flex: 0 0 47%;
}
    .auth-card {
        max-width: 456px;
        padding: 42px 32px;
    }
    /*
    .auth-card img {
        width: 92px;
        margin-bottom: 16px;
    }
    */
    .auth-card__title {
        font-size: 22px;
        margin-bottom: 3px;
    }
    .auth-card__subtitle {
        font-size: 14px;
        margin-bottom: 22px;
        letter-spacing: .2px;
    }
    .form-label {
        font-size: 13px;
        margin-bottom: 5px;
    }
    .input-wrapper input {
        padding: 12px 14px 12px 46px;
        font-size: 13px;
    }
.error-msg {
    font-size: 13px;
}

.input-icon svg{
  width: 17px;
}
svg#eyeIcon {
    width: 16px;
}
    .btn-primary {
        font-size: 14px;
    }
.btn-primary svg {
    width: 15px;
}#btnText i.bx.bx-send {
    font-size: 15px;
}
.auth-link {
    font-size: 14px;
}
.alert.alert-danger {
    font-size: 13px;
    letter-spacing: .2px;
}
.alert.alert-success{
    font-size: 13px;
    letter-spacing: .2px;
}
}


@media (max-width: 900px) {
  .auth-page {
    flex-direction: column;
  }

  .brand-panel {
    max-width: none;
    flex: none;
    padding: 32px;
  }

  .brand-features {
    display: none;
  }

  .content-panel {
    padding: 32px 16px;
  }

  .auth-card {
    padding: 40px 28px;
  }
}


@media(max-width:768px){
 .brand-divider{
  display: none;
 }
    .brand-logo img {
        width: 150px;
        margin-bottom: 0;
    }
    .brand-logo {
    margin-bottom: 7px;
    justify-content: center;
}
        .brand-title {
        font-size: 20px;
        font-weight: 600;
        text-align: center;
        margin-bottom: 10px;
    }
    .brand-subtitle {
        font-size: 13px;
        text-align: center;
        margin-bottom: 10px;
        letter-spacing: .3px;
    }
    .brand-panel__bottom{
      display: none;
    } 
       .brand-panel {
        padding: 20px 32px;
    }

  }

  @media(max-width:576px){
        .content-panel {
        padding: 0;
    }    .auth-card {
    background: transparent;
    text-align: center;
    border: none;
    box-shadow: none;   max-width: 100%;
}   
.content-panel img{
  display: none;
}    .auth-card__title {
        font-size: 22px;
        margin-bottom: 3px;
        text-align: left;
        font-weight: 800;
    }   
     .auth-card__subtitle {
        text-align: left;
        font-size: 13px;
    }
      .brand-panel {
        padding: 18px 7px;
    }        .btn-primary {
        font-size: 14px;
        padding: 13px;
    }  .input-icon svg {
        width: 16px;
    }
    .auth-card__icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 16px 0;
}    .auth-card__title {
        font-size: 20px;
    }
    .back-login {
    font-size: 13px;
}
  }

@media (max-width: 480px) {
     .auth-card {
        padding: 25px 18px;
    }
    .auth-card__title {
        font-size: 20px;
    }    .alert.alert-danger {
        font-size: 12px;
        letter-spacing: 0; padding: 9px 3px;
    }    .auth-link {
        font-size: 13px;
    }
    .alert.alert-success{
      font-size: 12px;
        letter-spacing: 0; padding: 9px 3px;
    }
        svg#eyeIcon {
        width: 14px;
    }    .input-icon svg {
        width: 15px;
    }
}
