@import url('colorPalate.css');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-image: url("../images/loginHaikei.jpg");
    background-color: var(--brand-primary);
    min-width: 1024px;
}

.new-login-svg-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    min-width: 600px;
    height: 100%;
    z-index: 1;
    overflow-y: hidden;
}

.new-login-svg-overlay svg {
    width: 100%;
    height: 100%;
}

.new-login-content {
    position: absolute;
    display: flex;
    flex-direction: row;
    top: 0;
    right: 0;
    width: 100%;
    min-width: 1024px;
    height: 100%;
    z-index: 2;
    justify-content: space-between;
    padding: 20px;
    color: var(--text-primary);
}

.new-login-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.new-login-right .new-login-product-name {
    display: flex;
    align-items: center;
    color: var(--text-white);
    font-family: "Noto Sans";
    font-size: 40px;
    font-weight: 800;
    white-space: nowrap;
    margin: auto 0;
}

.new-login-right .new-login-product-logo {
    width: 85%;
    height: auto;
    max-width: 600px;
    min-width: 300px;
}

.new-login-right .new-login-copyright {
    color: var(--text-white);
}

.new-login-left {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.new-login-left .new-login-ais-logo {
    width: 78px;
    height: 60px;
    margin-left: auto;
}

.new-login-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    gap: 20px;

    h2 {
        font-size: 30px;
        margin-bottom: 20px;
        font-weight: 1000;
    }

    .new-login-input-label {
        display: block;
        font-size: 20px;
    }

    input {
        width: 390px;
        height: 55px;
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid var(--border-light);
        border-radius: 6px;
        font-size: 14px;
        background-color: var(--bg-white) !important;
    }

    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    input:-webkit-autofill:active {
        -webkit-box-shadow: 0 0 0 30px var(--bg-white) inset !important;
        -webkit-text-fill-color: var(--text-primary) !important;
    }
}

.new-login-main button {
    width: 390px;
    height: 55px;
    border: none;
    background: var(--brand-primary);
    box-shadow: var(--button-shadow), var(--button-shadow-border-normal);
    color: var(--text-white);
    padding: 10px;
    font-size: 22px;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 5px;
    transition: 0.2s;
    font-weight: 550;
}

.new-login-main button:hover {
    background-color: var(--bg-white);
    color: var(--brand-hover-font);
    box-shadow: var(--button-shadow), var(--button-shadow-border-hover);
}

.new-login-main button:active {
    background-color: var(--bg-white);
    color: var(--brand-hover-font);
    box-shadow: var(--button-shadow), var(--button-shadow-border-hover);
}

.new-login-main button:focus {
    outline: none;
    background-color: var(--bg-white);
    color: var(--brand-hover-font);
    box-shadow: var(--button-shadow), var(--button-shadow-border-hover);
}

.new-login-main .new-login-forgot {
    margin-top: 10px;
    font-size: 17px;
    text-align: center;
}

.new-login-main .new-login-forgot a {
    color: var(--brand-primary);
}

.new-login-footer {
    text-align: center;
}

.new-login-footer a {
    font-size: 13px;
    color: var(--text-light);
    margin: 0 20px;
    text-decoration: none;
}

.new-login-error-input {
    border: 2px solid var(--error-primary) !important;
}

.new-login-registration {
    font-size: 16px;
    text-align: right;
}

.password-input-wrapper {
    position: relative;
}

.toggle-icon {
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 40%;
    transform: translateY(-50%);
    width: 24px;
    height: 25px;
    background: url(../images/icon/icon_visibility_off.svg) no-repeat;
}

#new-login-pw {
    padding-right: 40px;
}

#alert-base {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 10px;
}