:root
{
   --lavender: #E6E6FA;
   --white: #FFFFFF;

   --orange: #F28C28;
   --orange-dark: #D96F0A;
   --orange-light: #FFF1E3;

   --dark: #222222;
   --text: #555555;
   --muted: #777777;

   --border: #E5E5E5;
}


/* =========================================================
   GLOBAL
   ========================================================= */

*
{
   box-sizing: border-box;
}

html
{
   scroll-behavior: smooth;
}

body
{
   margin: 0;
   padding: 0;

   background-color: var(--lavender);

   color: var(--dark);

   font-family: 'Montserrat', Arial, sans-serif;

   font-size: 16px;

   line-height: 1.5;
}


/* =========================================================
   HEADER
   ========================================================= */

.client-header
{
   width: 100%;

   background-color: var(--white);

   border-bottom: 4px solid var(--orange);

   box-shadow: 0 3px 15px rgba(0,0,0,0.06);
}

.header-inner
{
   width: min(1180px, calc(100% - 40px));

   min-height: 82px;

   margin: 0 auto;

   display: flex;

   align-items: center;

   gap: 15px;
}

.logo-link
{
   display: flex;

   align-items: center;

   text-decoration: none;
}

.mbc-logo
{
   width: 62px;

   height: auto;

   display: block;
}

.header-text
{
   display: flex;

   flex-direction: column;
}

.header-small
{
   color: var(--orange);

   font-size: 11px;

   font-weight: 700;

   letter-spacing: 2px;
}

.header-title
{
   color: var(--dark);

   font-size: 19px;

   font-weight: 700;
}


/* =========================================================
   MAIN
   ========================================================= */

.login-page
{
   width: 100%;

   padding: 55px 20px 65px;
}

.login-wrapper
{
   width: min(1030px, 100%);

   margin: 0 auto;

   display: grid;

   grid-template-columns: 0.85fr 1.15fr;

   gap: 32px;

   align-items: start;
}


/* =========================================================
   INTRO PANEL
   ========================================================= */

.intro-panel
{
   position: relative;

   background-color: var(--white);

   border-radius: 24px;

   padding: 45px 40px;

   overflow: hidden;

   box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.orange-line
{
   position: absolute;

   top: 0;
   left: 0;

   width: 100%;

   height: 7px;

   background-color: var(--orange);
}

.intro-icon
{
   width: 65px;
   height: 65px;

   display: flex;

   align-items: center;
   justify-content: center;

   border-radius: 18px;

   background-color: var(--orange-light);

   color: var(--orange);

   font-size: 27px;

   margin-bottom: 27px;
}

.eyebrow
{
   display: block;

   color: var(--orange);

   font-size: 11px;

   font-weight: 800;

   letter-spacing: 2px;

   margin-bottom: 10px;
}

.intro-panel h1
{
   margin: 0 0 18px;

   color: var(--dark);

   font-size: 36px;

   line-height: 1.17;

   font-weight: 800;
}

.intro-panel h1 span
{
   color: var(--orange);
}

.intro-panel > p
{
   margin: 0 0 31px;

   color: var(--text);

   font-size: 14px;

   line-height: 1.8;
}


/* =========================================================
   CLIENT POINTS
   ========================================================= */

.client-points
{
   display: flex;

   flex-direction: column;

   gap: 19px;
}

.client-point
{
   display: flex;

   align-items: center;

   gap: 13px;
}

.point-icon
{
   flex-shrink: 0;

   width: 43px;
   height: 43px;

   display: flex;

   align-items: center;
   justify-content: center;

   border-radius: 12px;

   background-color: var(--orange-light);

   color: var(--orange);

   font-size: 15px;
}

.client-point strong
{
   display: block;

   color: var(--dark);

   font-size: 13px;

   margin-bottom: 2px;
}

.client-point span
{
   display: block;

   color: var(--muted);

   font-size: 11px;

   line-height: 1.5;
}


/* =========================================================
   LOGIN CARD
   ========================================================= */

.login-card
{
   background-color: var(--white);

   border-radius: 24px;

   overflow: hidden;

   box-shadow: 0 15px 40px rgba(0,0,0,0.09);
}

.card-top-bar
{
   width: 100%;

   height: 7px;

   background-color: var(--orange);
}

.card-content
{
   padding: 38px 42px 40px;
}


/* =========================================================
   FORM HEADING
   ========================================================= */

.form-heading
{
   display: flex;

   align-items: center;

   gap: 16px;

   margin-bottom: 26px;
}

.heading-icon
{
   flex-shrink: 0;

   width: 54px;
   height: 54px;

   display: flex;

   align-items: center;
   justify-content: center;

   border-radius: 15px;

   background-color: var(--orange);

   color: var(--white);

   font-size: 21px;
}

.form-label
{
   display: block;

   color: var(--orange);

   font-size: 10px;

   font-weight: 800;

   letter-spacing: 1.8px;

   margin-bottom: 3px;
}

.form-heading h2
{
   margin: 0;

   color: var(--dark);

   font-size: 25px;

   font-weight: 800;

   line-height: 1.2;
}

.form-heading p
{
   margin: 5px 0 0;

   color: var(--muted);

   font-size: 11px;
}


/* =========================================================
   MESSAGES
   ========================================================= */

.error-message,
.success-message
{
   display: flex;

   align-items: center;

   gap: 10px;

   margin-bottom: 19px;

   padding: 12px 14px;

   border-radius: 8px;

   font-size: 12px;

   line-height: 1.5;
}

.error-message
{
   background-color: #FFF0F0;

   border-left: 4px solid #D9534F;

   color: #B52B27;
}

.success-message
{
   background-color: #EEF9F1;

   border-left: 4px solid #35A853;

   color: #287A3E;
}


/* =========================================================
   FORM
   ========================================================= */

.form-group
{
   margin-bottom: 18px;
}

.form-group label
{
   display: block;

   margin-bottom: 7px;

   color: var(--dark);

   font-size: 12px;

   font-weight: 700;
}

.input-wrapper
{
   position: relative;

   width: 100%;
}

.input-wrapper > i
{
   position: absolute;

   left: 15px;

   top: 50%;

   transform: translateY(-50%);

   color: #999;

   font-size: 14px;

   pointer-events: none;
}

.input-wrapper input
{
   width: 100%;

   height: 49px;

   padding: 0 45px 0 43px;

   border: 1px solid var(--border);

   border-radius: 10px;

   outline: none;

   background-color: #FAFAFC;

   color: var(--dark);

   font-family: 'Montserrat', Arial, sans-serif;

   font-size: 13px;

   transition:
      border-color 0.2s ease,
      box-shadow 0.2s ease,
      background-color 0.2s ease;
}

.input-wrapper input::placeholder
{
   color: #AAAAAA;
}

.input-wrapper input:focus
{
   background-color: var(--white);

   border-color: var(--orange);

   box-shadow: 0 0 0 3px rgba(242,140,40,0.12);
}

.input-wrapper:focus-within > i
{
   color: var(--orange);
}


/* =========================================================
   PASSWORD TOGGLE
   ========================================================= */

.password-toggle
{
   position: absolute;

   right: 9px;

   top: 50%;

   transform: translateY(-50%);

   width: 32px;
   height: 32px;

   border: none;

   border-radius: 7px;

   background: transparent;

   color: #999;

   cursor: pointer;

   transition: 0.2s ease;
}

.password-toggle:hover
{
   background-color: var(--orange-light);

   color: var(--orange);
}


/* =========================================================
   LOGIN OPTIONS
   ========================================================= */

.login-options
{
   display: flex;

   justify-content: space-between;

   align-items: center;

   margin: 2px 0 21px;
}

.remember
{
   display: flex;

   align-items: center;

   gap: 7px;

   color: #777;

   font-size: 11px;

   cursor: pointer;
}

.remember input
{
   width: 15px;
   height: 15px;

   margin: 0;

   accent-color: var(--orange);

   cursor: pointer;
}

.forgot-link
{
   color: var(--orange);

   font-size: 11px;

   font-weight: 700;

   text-decoration: none;
}

.forgot-link:hover
{
   text-decoration: underline;
}


/* =========================================================
   LOGIN BUTTON
   ========================================================= */

.login-button
{
   width: 100%;

   height: 51px;

   display: flex;

   align-items: center;
   justify-content: center;

   gap: 12px;

   border: none;

   border-radius: 11px;

   background-color: var(--orange);

   color: var(--white);

   font-family: 'Montserrat', Arial, sans-serif;

   font-size: 14px;

   font-weight: 700;

   cursor: pointer;

   box-shadow: 0 8px 18px rgba(242,140,40,0.23);

   transition:
      background-color 0.2s ease,
      transform 0.2s ease,
      box-shadow 0.2s ease;
}

.login-button:hover
{
   background-color: var(--orange-dark);

   transform: translateY(-2px);

   box-shadow: 0 11px 22px rgba(242,140,40,0.30);
}

.login-button:active
{
   transform: translateY(0);
}


/* =========================================================
   CREATE ACCOUNT
   ========================================================= */

.create-account
{
   margin-top: 19px;

   text-align: center;

   color: #777;

   font-size: 11px;
}

.create-account a
{
   color: var(--orange);

   font-weight: 700;

   text-decoration: none;
}

.create-account a:hover
{
   text-decoration: underline;
}


/* =========================================================
   DIVIDER
   ========================================================= */

.divider
{
   position: relative;

   margin: 27px 0 21px;

   height: 1px;

   background-color: #EEEEEE;

   text-align: center;
}

.divider span
{
   position: relative;

   top: -9px;

   padding: 0 12px;

   background-color: var(--white);

   color: #999;

   font-size: 10px;

   font-weight: 600;
}


/* =========================================================
   FORGOT PASSWORD CARD
   ========================================================= */

.forgot-card
{
   display: flex;

   align-items: flex-start;

   gap: 14px;

   padding: 17px;

   background-color: var(--orange-light);

   border-radius: 13px;

   border: 1px solid rgba(242,140,40,0.14);
}

.forgot-icon
{
   flex-shrink: 0;

   width: 38px;
   height: 38px;

   display: flex;

   align-items: center;
   justify-content: center;

   border-radius: 10px;

   background-color: var(--white);

   color: var(--orange);

   font-size: 15px;
}

.forgot-content
{
   flex: 1;
}

.forgot-content h3
{
   margin: 0 0 3px;

   color: var(--dark);

   font-size: 13px;

   font-weight: 700;
}

.forgot-content p
{
   margin: 0 0 12px;

   color: #777;

   font-size: 10px;

   line-height: 1.5;
}

.forgot-input
{
   position: relative;

   margin-bottom: 9px;
}

.forgot-input i
{
   position: absolute;

   left: 12px;

   top: 50%;

   transform: translateY(-50%);

   color: #999;

   font-size: 12px;
}

.forgot-input input
{
   width: 100%;

   height: 39px;

   padding: 0 10px 0 34px;

   border: 1px solid #E7D8C8;

   border-radius: 8px;

   outline: none;

   background-color: var(--white);

   color: var(--dark);

   font-family: 'Montserrat', Arial, sans-serif;

   font-size: 11px;
}

.forgot-input input:focus
{
   border-color: var(--orange);

   box-shadow: 0 0 0 3px rgba(242,140,40,0.10);
}

.reset-button
{
   width: 100%;

   height: 39px;

   border: none;

   border-radius: 8px;

   background-color: var(--dark);

   color: var(--white);

   font-family: 'Montserrat', Arial, sans-serif;

   font-size: 11px;

   font-weight: 700;

   cursor: pointer;

   transition: 0.2s ease;
}

.reset-button:hover
{
   background-color: var(--orange);
}


/* =========================================================
   FOOTER
   ========================================================= */

.client-footer
{
   width: 100%;

   padding: 22px 20px;

   background-color: var(--white);

   border-top: 1px solid rgba(0,0,0,0.06);

   text-align: center;

   color: #888;

   font-size: 11px;
}

.client-footer p
{
   margin: 0 0 7px;
}

.footer-links
{
   display: flex;

   justify-content: center;

   align-items: center;

   gap: 9px;
}

.footer-links a
{
   color: var(--orange);

   text-decoration: none;

   font-weight: 600;
}

.footer-links a:hover
{
   text-decoration: underline;
}


/* =========================================================
   TABLET
   ========================================================= */

@media only screen and (max-width: 900px)
{
   .login-wrapper
   {
      grid-template-columns: 1fr;

      max-width: 680px;
   }

   .intro-panel
   {
      padding: 35px;
   }

   .intro-panel h1
   {
      font-size: 33px;
   }

   .client-points
   {
      display: grid;

      grid-template-columns: 1fr 1fr;

      gap: 18px;
   }

   .client-point:last-child
   {
      grid-column: 1 / -1;
   }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media only screen and (max-width: 600px)
{
   .header-inner
   {
      width: calc(100% - 28px);

      min-height: 70px;
   }

   .mbc-logo
   {
      width: 52px;
   }

   .header-small
   {
      font-size: 9px;

      letter-spacing: 1.5px;
   }

   .header-title
   {
      font-size: 16px;
   }

   .login-page
   {
      padding: 25px 13px 35px;
   }

   .login-wrapper
   {
      gap: 20px;
   }

   .intro-panel
   {
      padding: 32px 25px;

      border-radius: 19px;
   }

   .intro-icon
   {
      width: 55px;
      height: 55px;

      margin-bottom: 22px;

      border-radius: 15px;

      font-size: 23px;
   }

   .intro-panel h1
   {
      font-size: 29px;
   }

   .intro-panel > p
   {
      font-size: 13px;

      line-height: 1.7;
   }

   .client-points
   {
      display: flex;

      gap: 17px;
   }

   .login-card
   {
      border-radius: 19px;
   }

   .card-content
   {
      padding: 30px 22px 32px;
   }

   .form-heading
   {
      align-items: flex-start;

      gap: 12px;
   }

   .heading-icon
   {
      width: 47px;
      height: 47px;

      border-radius: 13px;

      font-size: 18px;
   }

   .form-heading h2
   {
      font-size: 21px;
   }

   .form-heading p
   {
      font-size: 10px;

      line-height: 1.5;
   }

   .login-options
   {
      align-items: flex-start;

      gap: 10px;
   }

   .forgot-card
   {
      padding: 14px;
   }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media only screen and (max-width: 380px)
{
   .intro-panel
   {
      padding: 28px 20px;
   }

   .intro-panel h1
   {
      font-size: 26px;
   }

   .card-content
   {
      padding: 27px 18px 29px;
   }

   .form-heading h2
   {
      font-size: 19px;
   }

   .login-button
   {
      height: 48px;

      font-size: 13px;
   }

   .forgot-card
   {
      flex-direction: column;
   }

   .forgot-icon
   {
      width: 35px;
      height: 35px;
   }
}