* { box-sizing: border-box; }
    body {
      margin: 0;
      font-family: 'Poppins', sans-serif;
      background-color: #f2f2f2;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      padding: 20px;
    }

[site-logo="1"]{cursor: pointer;}

    .auth-wrapper {
      width: 100%;
      max-width: 1080px;
      min-height: 640px;
      background: #fff;
      display: flex;
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    }

    .auth-form {
      flex: 1;
      padding: 56px 56px 56px 56px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    /* constrain inner form width so inputs never get cut off */
    .auth-form form { max-width: 520px; width: 100%; }

    .auth-form h2 {
      font-size: 34px;
      line-height: 1.2;
      font-weight: 700;
      margin: 0 0 12px 0;
      color: #111;
    }

    .auth-form p.desc {
      color: #616161;
      margin: 0 0 22px 0;
      max-width: 520px;
    }

    .field, .google-btn, .submit-btn { width: 100%; }

    .google-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background: #fff;
      border: 1px solid #e0e0e0;
      border-radius: 12px;
      padding: 14px;
      margin: 0 0 16px 0;
      cursor: pointer;
      font-weight: 600;
      color: #1c1c1c;
    }

    .google-btn img { width: 20px; height: 20px; }

    .or {
      text-align: center;
      color: #9e9e9e;
      margin: 6px 0 18px 0;
      font-size: 13px;
      letter-spacing: .4px;
    }

    .field {
      padding: 14px 16px;
      border: 1px solid #e0e0e0;
      border-radius: 12px;
      font-size: 15px;
      outline: none;
      margin-bottom: 14px;
    }

    .submit-btn {
      background: #1dbf73;
      color: #fff;
      padding: 14px 16px;
      border: none;
      border-radius: 12px;
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
      margin-top: 6px;
      transition: filter .2s ease;
    }
    .submit-btn:hover { filter: brightness(0.95); }

    .auth-links { text-align: center; margin-top: 10px; }
    .auth-links a { color: #1dbf73; text-decoration: none; font-size: 14px; }

    .auth-image {
      flex: 1;
      background: url('assets/bg-min.png') center/cover no-repeat;
      position: relative;
      display: flex;
      justify-content: center;
      align-items: flex-end;
      color: #fff;
      min-width: 40%;
    }

    .auth-image::before {
      content: '';
      position: absolute;
      left: -90px;
      top: 0; bottom: 0;
      width: 170px;
/*      background: #fff;*/
      border-top-right-radius: 90px;
      border-bottom-right-radius: 90px;
    }

    .image-overlay {
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, rgb(0 0 0 / 34%) 20%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.65) 100%);
    padding: 40px 36px 46px 36px;
    text-align: center;
}
    .image-overlay h3 { font-size: 24px; font-weight: 800; margin: 0 0 8px 0; }
    .image-overlay p { margin: 0; opacity: .95; }

    .hidden { display: none; }

    /* Responsive */
    @media (max-width: 980px) {
      .auth-wrapper { height: auto; flex-direction: column; }
      .auth-image { order: 2; height: 280px; }
      .auth-image::before { display: none; }
      .auth-form { order: 1; padding: 28px; }
      .auth-form form, .auth-form p.desc { max-width: 100%; }
    }





    #form-msg {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    display: none; /* hidden until needed */
}

/* success message */
#form-msg.success {
    display: block;
    background: #e9f9f2;
    border: 1px solid #1dbf73;
    color: #0c8c52;
}

/* error message */
#form-msg.error {
    display: block;
    background: #ffe8e8;
    border: 1px solid #ff6b6b;
    color: #c13131;
}





/* Password Strength Box */
#password-strength-box {
    margin-top: 16px;
    padding: 18px 20px;
    border-radius: 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Title */
#strength-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 12px;
}

/* Checklist */
.strength-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.strength-checklist li {
    font-size: 15px;
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
}

.strength-checklist li::before {
    content: "✖";
    font-weight: bold;
    position: absolute;
    left: 0;
    color: #d9534f;
}

.strength-checklist li.valid::before {
    content: "✔";
    color: #1dbf73;
}

.strength-checklist li.valid {
    color: #1dbf73;
}

.strength-checklist li.invalid {
    color: #444;
}

/* Dynamic Box Colors */
#password-strength-box.weak {
    border-color: #ff9b9b;
    background: #fff5f5;
}

#password-strength-box.medium {
    border-color: #ffdd99;
    background: #fffaf0;
}

#password-strength-box.strong {
    border-color: #1dbf73;
    background: #f2fcf7;
}




/* Remove Chrome Autofill Styles */
/*input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
    box-shadow: 0 0 0px 1000px white inset !important;
    -webkit-text-fill-color: #000 !important;
    border-radius: 10px !important;
}*/



.google-btn.loading {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
    position: relative;
}

.google-btn.loading::after {
    content: "Please wait...";
    position: absolute;
    right: 15px;
    font-size: 13px;
    color: #fff;
}
