* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
    text-decoration: none;
    list-style: none;
    user-select: none;
    outline: none;
    line-height: 1.4;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(90deg, #E8EAEB);
    font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
    overflow-x: hidden;
    line-height: 1.4;
    font-weight: 700;
}

.back-btn {
    position: absolute;
    left: 1%;
    top: 1%;
    color: #026181;
}

.back-btn a {
    display: inline-block;
    position: relative;
}

/* Stack icons on top of each other */
.back-btn svg {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
    color: #026181;
    /* smooth transition */
}

/* Initial states */
.back-btn svg.icon-outline {
    opacity: 1;
    z-index: 2;
    color: #026181;
}

.back-btn svg.icon-fill {
    opacity: 0;
    z-index: 1;
    color: #026181;
}

/* Hover states - swap to fill icon */
.back-btn a:hover svg.icon-outline {
    opacity: 0;
}

.back-btn a:hover svg.icon-fill {
    opacity: 1;
}

.back-btn a:visited {
    color: #026181;
    /* visited link color */
}

.container {
    position: relative;
    width: 850px;
    height: 550px;
    background: #E7E7E7;
    margin: 20px;
    /* border-radius: 30px; */
    box-shadow: 0 0 30px rgba(0, 0, 0, .2);
    overflow: hidden;
}

.container h2 {
    font-family: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
    font-size: 42px;
    margin: -10px 0;
    line-height: 1.2;
    /* margin-top: 160px; */
}

.container p {
    font-size: 14.5px;
    margin: 15px 0;
    line-height: 1.4;
}

form {
    width: 100%;
}

.form-box {
    position: absolute;
    right: 0;
    width: 55%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    color: #333;
    text-align: center;
    padding: 24px 28px;
    z-index: 2;
    transition: right 0.6s ease-in-out 1.2s, visibility 0s 1s;
    line-height: 1.4;
}

.login-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.4;
}

.container.active .form-box {
    right: 45%;
}

.form-box.register {
    visibility: hidden;
    /* padding: 16px 24px; */
    padding: 40px;
}

.container.active .form-box.register {
    visibility: visible;
}

.register-form {
    /* border: 2px solid red; */
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
    padding-right: 4px;
    max-width: 100%;
    line-height: 1.4;
}

.input-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    margin: 4px 0;
    margin-bottom: 12px;
    /* border: 2px solid red; */
    width: 100%;
}

/* .input-box:nth-of-type(2){
    margin-bottom: 0;
} */

#label_email_login,
#label_company #label_firstname,
#label_lastname,
#label_password,
#label_email_signup,
#signup-label_password,
#signup-confirm-label_password {
    font-size: 13px;
    line-height: 1.4;
}

#login-email,
#signup-email,
#company_name {
    width: 100%;
    /* padding-right: 120px; */
}

#login-password,
#signup-password,
#signup-confirm-password {
    position: relative;
    width: 100%;
    /* padding-right: 120px; */
}

.register-form .input-box {
    margin: 3px 0;
    margin-bottom: 4px;
    /* border: 2px solid red; */
}

.btn-shine {
    /* margin: -10px 0; */
    /* top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */
    /* padding: 12px 48px; */
    align-self: center;
    color: #026181;
    margin-bottom: 22px;
    /* background: linear-gradient(120deg, #026181 0%, #ffffff 10%, #000000 20%); */
    /* background-size: 200% auto; */
    /* background-position: -200%; */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    /* animation: shine 3s linear infinite; */
    /* animation-fill-mode: forwards; */
    /* -webkit-text-size-adjust: none; */
    font-weight: 700;
    font-family: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
    font-size: 42px;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.2;
    /* font-family: "Poppins", sans-serif; */
}

.register-form .btn-shine {
    /* border: 2px solid red; */
    margin-bottom: 10px;
    font-size: 36px;
}

/* @keyframes shine {
    0% {
        background-position: 0;
    }
    60% {
        background-position: 180px;
    }
    100% {
        background-position: 180px;
    }
} */

.input-box input {
    width: 100%;
    padding: 10px 50px 10px 20px;
    background: #FAF8FC;
    border-radius: 8px;
    border: 1px solid #CBD5E1;
    outline: none;
    font-size: 16px;
    color: #333;
    font-weight: 700;
    line-height: 1.4;
}

/* Hide default browser password reveal eye icon (IE/Edge) */
.input-box input[type="password"]::-ms-reveal,
.input-box input[type="password"]::-ms-clear {
    display: none;
}

.input-box select {
    width: 100%;
    padding: 10px 50px 10px 20px;
    background: #FAF8FC;
    border-radius: 8px;
    border: 1px solid #CBD5E1;
    outline: none;
    font-size: 16px;
    color: #333;
    font-weight: 700;
    line-height: 1.4;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Nice-select (nsel) override for zeroSL page */
.register-form .nsel-trigger {
    padding: 10px 10px 10px 20px !important;
    border-radius: 8px !important;
    border: 1px solid #CBD5E1 !important;
    background: #FAF8FC !important;
    font-size: 16px !important;
    color: #333 !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    height: auto !important;
    min-height: 42px !important;
}

.register-form .nsel-trigger:hover {
    border-color: #026181 !important;
}

.register-form .nsel-trigger:focus-visible,
.register-form .nsel.is-open .nsel-trigger {
    border-color: #026181 !important;
    box-shadow: 0 0 0 3px rgba(2, 97, 129, 0.14) !important;
}

.register-form .nsel-chevron {
    width: 12px;
    height: 12px;
    color: #888;
}

.register-form .nsel-value {
    font-weight: 500 !important;
}

.input-box select::-ms-expand {
    display: none;
}

.input-box input::placeholder {
    color: #888;
    font-weight: 400;
}

.input-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    pointer-events: none;
}

#login-toggle-btn,
#signup-toggle-btn,
#signup-confirm-toggle-btn {
    position: absolute;
    height: 96%;
    width: 60px;
    right: 0px;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    border: none;
    background-color: #026181;
    padding: 4px 8px;
    font-size: 0.9em;
    cursor: pointer;
    color: #ffffff;
    margin-top: 1px;
    margin-right: 1px;
}

.input-error {
    border-color: crimson !important;
}


.forgot-link {
    /* margin: -15px 0 15px; */
    width: 100%;
    display: flex;
    align-items: space-between;
    justify-content: space-between;
    gap: 125px;
    margin-bottom: 20px;
}

.google-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 4px;
    padding: 10px 50px;
    font-size: 14px;
    color: #026181;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease;
    width: 100%;
    height: 44px;
    border-radius: 8px;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, .1); */
    border: 1px solid #CBD5E1;
    cursor: pointer;
    font-weight: 600;
    line-height: 1.4;
    /* font-family: 'Helvetica Neue'; */
}

.login-form .google-btn {
    margin-top: 18px;
}

.login-form .google-btn-link-login {
    width: 100%;
}


.google-btn img {
    height: 18px;
    width: 18px;
    margin-right: 10px;
}

/* --- STANDARD TOAST MESSAGES --- */
.toast-notification {
  position: fixed;
  top: 78px;
  right: 20px;
  min-width: 280px;
  max-width: 420px;
  color: #f8fafc;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.3);
  backdrop-filter: blur(8px);
  padding: 12px 14px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  z-index: 10001;
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast-notification::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  flex-shrink: 0;
}

.toast-notification.success {
  border-color: rgba(34, 197, 94, 0.45);
}

.toast-notification.error {
  border-color: rgba(239, 68, 68, 0.45);
}

.toast-notification.error::before {
  content: "!";
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
}

.toast-notification.warning {
  border-color: rgba(245, 158, 11, 0.45);
}

.toast-notification.warning::before {
  content: "!";
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.toast-notification.info {
  border-color: rgba(56, 189, 248, 0.45);
}

.toast-notification.info::before {
  content: "i";
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

#toast-message {
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.01em;
  flex: 1;
  word-break: break-word;
}

.toast-notification .toast-close-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.22);
  border: none;
  color: #e2e8f0;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.toast-notification .toast-close-btn:hover {
  background: rgba(226, 232, 240, 0.35);
  transform: scale(1.05);
}


.tick_container {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 12px;
    line-height: 1.4;
}

.tick_container input {
    display: none;
}

.tick_container svg {
    overflow: visible;
}

.path {
    fill: none;
    stroke: #026181;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke-dasharray 0.5s ease, stroke-dashoffset 0.5s ease;
    stroke-dasharray: 241 9999999;
    stroke-dashoffset: 0;
}

.tick_container input:checked~svg .path {
    stroke-dasharray: 70.5096664428711 9999999;
    stroke-dashoffset: -262.2723388671875;
}

.forgot-link a {
    font-size: 13px;
    color: #026181;
    line-height: 1.4;
}


.signup-button-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* border: 2px solid red; */
    margin-top: 6px;
    width: 100%;
}

.signup-button-section .google-btn {
    padding: 8px 36px;
    height: 44px;
    font-size: 13px;
}

.btn {
    width: 100%;
    height: 44px;
    background: #026181;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    line-height: 1.4;
}

.signup-btn {
    /* width: 100%; */
    height: 44px;
    background: #026181;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    line-height: 1.4;
    padding: 0 38px;
}


.toggle-box {
    position: absolute;
    width: 100%;
    height: 100%;
}

.toggle-box::before {
    content: '';
    position: absolute;
    left: -250%;
    width: 300%;
    height: 100%;
    background: #026181;
    /* border-radius: 150px; */
    z-index: 1;
    transition: 1.8s ease-in-out;
}

.container.active .toggle-box::before {
    left: 45%;
}

.toggle-panel {
    position: absolute;
    width: 45%;
    height: 100%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3;
    transition: all 0.6s ease-in-out;
}


.toggle-panel.toggle-left {
    left: 0;
    transition-delay: 1.2s;
    z-index: 1;
}

.toggle-panel.toggle-left::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -55px;
    width: 100px;
    height: 100px;
    border: 3px solid #FAF8FC;
    border-radius: 50%;
    z-index: 0;
    transition: all 0.6s ease-in-out;

}

.toggle-panel.toggle-left::after {
    content: "";
    position: absolute;
    bottom: -140px;
    right: -120px;
    width: 200px;
    height: 200px;
    border: 3px solid #FAF8FC;
    /* or any accent */
    border-radius: 50%;
    z-index: 0;
    transition: all 0.6s ease-in-out;

}

.container.active .toggle-panel.toggle-left {
    left: -50%;
    transition-delay: .6s;
}

.toggle-panel.toggle-right {
    right: -40%;
    transition-delay: .6s;
    z-index: 1;
}

.toggle-panel.toggle-right::before {
    content: "";
    position: absolute;
    top: -100px;
    left: -130px;
    width: 200px;
    height: 200px;
    border: 3px solid #FAF8FC;
    border-radius: 50%;
    z-index: 0;
    transition: all 0.6s ease-in-out;

}

.toggle-panel.toggle-right::after {
    content: "";
    position: absolute;
    bottom: -145px;
    right: -100px;
    width: 200px;
    height: 200px;
    border: 3px solid #FAF8FC;
    /* or any accent */
    border-radius: 50%;
    z-index: 0;
    transition: all 0.6s ease-in-out;

}

/* When .hide-shapes is on a .toggle-panel, its ::before/::after circles become invisible */
.toggle-panel.hide-shapes::before,
.toggle-panel.hide-shapes::after {
    opacity: 0;
    /* Disable any transition on those pseudo-elements so they vanish immediately */
    /* transition: none; */
}

.container.active .toggle-panel.toggle-right {
    right: 0;
    transition-delay: 1.2s;
}


.toggle-panel p {
    margin-bottom: 20px;
    line-height: 1.4;
}

.toggle-panel .btn {
    width: 160px;
    height: 46px;
    background: transparent;
    border: 2px solid #fff;
    box-shadow: none;
    line-height: 1.4;
}

#wolf-img-left {
    width: 180px;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 100px;
    right: 121px;
    z-index: 2;
}

#wolf-img-right {
    width: 180px;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 100px;
    left: 121px;
    z-index: 2;
}

.wolf-container {
    position: relative;
    width: 180px;
    height: 180px;
    overflow: hidden;
    /* border: 2px solid red; */
    margin-bottom: 20px;
}

#wolf-body-left,
#wolf-body-right {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#wolf-left-hand-left,
#wolf-right-hand-left,
#wolf-left-hand-right,
#wolf-right-hand-right {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
    transform: translateY(100%);
    z-index: 2;
}

#wolf-left-hand-left,
#wolf-left-hand-right {
    left: 0;
}

#wolf-right-hand-left,
#wolf-right-hand-right {
    right: 12px;
}


@media screen and (min-width: 651px) and (max-width: 1024px) {

    .container {
        width: 620px;
        height: 500px;
    }

    /* RIGHT SIDE (FORM) */
    .form-box {
        width: 55%;
        padding: 10px 18px;
    }

    .container.active .form-box {
        right: 45%;
    }

    /* REGISTER FORM */
    .register-form {
        gap: 2px;
        overflow: visible;
        /* FIX: prevents button clipping */
        display: flex;
        flex-direction: column;
    }

    .register-form .input-box {
        margin: 3px 0;
        margin-bottom: 5px;
    }

    .input-box input,
    .input-box select {
        padding: 7px 38px 7px 12px;
        font-size: 13.5px;
        line-height: 1.4;
    }

    label {
        font-size: 11.5px;
        line-height: 1.4;
    }

    .register-form>div {
        margin-bottom: 2px;
    }

    .forgot-link {
        gap: 0;
        margin-bottom: 10px;
    }

    /* BUTTON SECTION */
    .signup-button-section {
        display: flex;
        flex-direction: column;
        gap: 6px;

        margin-top: 6px;
        padding-bottom: 5px;
    }

    .signup-button-section a {
        width: 100%;
    }

    /* UNIFIED BUTTON STYLE */
    .signup-btn,
    .register-form .google-btn {
        width: 100%;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 8px;
        font-size: 12.5px;
        box-sizing: border-box;
    }

    /* SIGNUP BUTTON */
    .signup-btn {
        padding: 0;
    }

    /* GOOGLE BUTTON */
    .register-form .google-btn {
        gap: 10px;
        white-space: nowrap;
        padding: 0 14px;
        line-height: 1.4;
    }

    .register-form .google-btn img {
        flex-shrink: 0;
    }

    /* LEFT SIDE */
    .toggle-panel {
        width: 45%;
        padding: 14px;
    }

    .toggle-panel h2 {
        font-size: 21px;
        margin-bottom: 4px;
        line-height: 1.2;
    }

    .toggle-panel p {
        font-size: 12px;
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .btn-shine {
        font-size: 24px;
        margin-bottom: 4px;
        line-height: 1.2;
    }

    /* Wolf */
    .wolf-container {
        width: 130px;
        height: 130px;
        margin-bottom: 8px;
    }

    #wolf-img-left,
    #wolf-img-right {
        width: 130px;
    }
}


@media screen and (max-width: 650px) {
    .back-btn,
    .wolf-container,
    .toggle-panel::before,
    .toggle-panel::after {
        display: none;
    }
    .forgot-link {
        gap: 10px;
        justify-content: space-between;
    }
    .container {
        height: calc(100vh - 40px);
    }

    .form-box {
        bottom: 0;
        width: 100%;
        height: 75%;
        z-index: 1;
        overflow-y: auto;
        padding: 20px 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .register-form {
        overflow-y: auto;
        padding-right: 4px;
    }

    .container.active .form-box {
        bottom: 0;
        right: 0;
    }

    .form-box.register {
        bottom: 0;
        right: 0;
        visibility: hidden;
        transition: visibility 0s 1s, bottom 0.6s ease-in-out 1.2s;
    }

    .container.active .form-box.register {
        visibility: visible;
        bottom: 25%;
    }

    .form-box.login {
        height: 80%;
    }

    .toggle-box::before {
        left: 0;
        top: -275%;
        width: 100%;
        height: 300%;
        border-radius: 30px;
        z-index: 1;
    }

    .container.active .toggle-box::before {
        left: 0;
        top: 75%;
    }

    .toggle-panel {
        width: 100%;
        height: 25%;
        z-index: 3;
    }

    .toggle-panel.toggle-left {
        top: 0;
        left: 0;
        transition: top 0.6s ease-in-out 1.2s;
    }

    .container.active .toggle-panel.toggle-left {
        left: 0;
        top: -25%;
        transition-delay: .6s;
    }

    .toggle-panel.toggle-right {
        right: 0;
        bottom: -25%;
        transition: bottom 0.6s ease-in-out 0.6s;
    }

    .container.active .toggle-panel.toggle-right {
        bottom: 0;
        transition-delay: 1.2s;
        height: 24%;
    }

    #wolf-img-left {
        top: 20px;
        right: 50%;
        transform: translateX(50%);
    }

    #wolf-img-right {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
    }

    .signup-button-section {
        flex-direction: column;
        gap: 15px;
        margin-top: 25px;
        /* padding-bottom: 40px; */
    }

    .signup-button-section a {
        width: 100% !important;
    }

    .signup-btn, .google-btn {
        width: 100% !important;
        line-height: 1.4;
    }

    .register-form {
        width: 100%;
    }

    .login-form {
        margin-top: 80px;
    }

    .btn-shine {
        font-size: 26px;
        white-space: normal;
        text-align: left;
        width: 100%;
        line-height: 1.2;
    }

    .login-form.btn-shine {
        margin-top: 65px;
    }

    .toggle-panel h2 {
        font-size: 24px;
        margin-bottom: 5px;
        line-height: 1.2;
    }

    .toggle-panel p {
        margin-bottom: 10px;
        font-size: 13px;
        line-height: 1.4;
    }

    .toggle-panel .btn {
        height: 40px;
        line-height: 1.4;
    }

    #first_last_name_container {
        flex-direction: column !important;
        gap: 0 !important;
    }
}

@media screen and (max-width: 400px) {
    .form-box {
        padding: 20px;
    }

    .toggle-panel h1 {
        font-size: 30px;
        line-height: 1.2;
    }

    .signup-button-section .google-btn, .google-btn {
        padding: 10px 12px;
        line-height: 1.4;
    }
}