@charset "utf-8";

/* =========================
   Reset / Base
========================= */
html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    min-height: max(884px, 100dvh);
    background: #f8f9ff;
    color: #181c21;
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
}


/* =========================
   Layout
========================= */
.page {
    position: relative;
    /* min-height: 100vh; */
    min-height: 100dvh;
    overflow: hidden;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

/* =========================
   Header
========================= */
.login-header {
    text-align: center;
}

.logo-circle {
    width: 100%;
    height: auto;
    margin: 0 0 16px;
    background-image: url(../images/logos/kpack_logo.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    text-indent: -9999px;
}

.logo-icon {
    font-size: 48px;
    color: #0078c1;
    color: #0e72ed;
    color: transparent;
    text-indent: -9999px;
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #0078c1;
    color: #0e72ed;
}

.logo-subtext {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #707882;
}

/* =========================
   Form
========================= */
.form-section {
    width: 100%;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-group label {
    display: block;
    margin: 0 0 8px 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #707882;
}

.input-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    font-size: 22px;
    width: 20px;
    height: 20px;
    /* color: #707882; */
    color: transparent;
    text-indent: -9999px;
    pointer-events: none;
}
.input-group:nth-of-type(1) .input-icon {
    background-image: url(../images/icons/user_icon.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.input-group:nth-of-type(2) .input-icon,
.input-group:nth-of-type(3) .input-icon,
.input-group:nth-of-type(4) .input-icon {
    background-image: url(../images/icons/key_icon.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.input-wrap input {
    width: 100%;
    height: 56px;
    padding: 0 16px 0 52px;
    border: none;
    border-radius: 12px;
    outline: none;
    background: #f1f3fa;
    background: #ffffff;
    color: #181c21;
    font-size: 18px;
    font-weight: 700;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.input-wrap input::placeholder {
    color: #a0a7b3;
}

.input-wrap input:focus {
    background: #d0e4ff;
    box-shadow: 0 0 0 2px #005f9a;
    box-shadow: 0 0 0 2px #0e72ed;
}

/* =========================
   Button
========================= */
.button-area {
    padding-top: 8px;
}

.login-button {
    width: 100%;
    height: 64px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: linear-gradient(to right, #0e72ed, #0078c1);
    background: #0e72ed;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.18em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 24px rgba(0, 95, 154, 0.22);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.login-button > span {
    color: #ffffff;
}
.login-button:hover {
    box-shadow: 0 12px 28px rgba(0, 95, 154, 0.28);
}

.login-button:active {
    transform: scale(0.98);
}

.button-icon {
    font-size: 22px;
    background-image: url(../images/icons/next_icon_white.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 18px;
    height: 18px;
}

/* =========================
   Footer
========================= */
.login-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.login-footer p {
    font-size: 11px;
    color: #707882;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.footer-icon {
    font-size: 14px;
    background-image: url(../images/icons/location_icon_blue.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 14px;
    height: 14px;
}

.editpw-button {
    font-size: 14px;
    cursor: pointer;
    background-color: transparent;
    color: #0e72ed;
    border-bottom: 1px solid #0e72ed;
    font-weight: 500;
    margin-top: 10px;
}

/* =========================
   Background Effect
========================= */
.background-effect {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.blur-circle {
    position: absolute;
    width: 42vw;
    height: 42vw;
    min-width: 220px;
    min-height: 220px;
    max-width: 520px;
    max-height: 520px;
    border-radius: 50%;
    filter: blur(100px);
}

.blur-circle-left {
    top: -10%;
    left: -10%;
    background: rgba(208, 228, 255, 0.9);
}

.blur-circle-right {
    right: -10%;
    bottom: -10%;
    background: rgba(147, 166, 255, 0.45);
}

/* =========================
   Responsive
========================= */
@media (max-width: 480px) {
    .page {
        padding: 20px;
    }

    .login-container {
        gap: 40px;
    }

    .logo-circle {
        width: 80px;
        height: 80px;
    }

    .logo-icon {
        font-size: 42px;
    }

    .logo-text {
        font-size: 28px;
    }

    .input-wrap input {
        font-size: 16px;
    }

    .login-button {
        font-size: 16px;
    }
}



