/* =========================
   BLUESEN LOGIN - CENTER CARD
========================= */

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: #edf3f9;
    color: #1f2937;
    font-family: inherit;
}

.blind {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
}

/* 페이지 배경 */
.login_page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
            radial-gradient(circle at 20% 20%, rgba(100,130,255,0.12), transparent),
            radial-gradient(circle at 80% 80%, rgba(60,90,200,0.08), transparent),
            #eef3f9;
}

/* 배경 장식 */
.login_bg_deco {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(4px);
}

.login_bg_deco_1 {
    width: 420px;
    height: 420px;
    top: -120px;
    left: -80px;
    background: radial-gradient(circle, rgba(120, 153, 223, 0.16) 0%, rgba(120, 153, 223, 0) 70%);
}

.login_bg_deco_2 {
    width: 380px;
    height: 380px;
    right: -120px;
    bottom: -80px;
    background: radial-gradient(circle, rgba(80, 120, 210, 0.10) 0%, rgba(80, 120, 210, 0) 72%);
}

/* 가운데 정렬 */
.login_center_wrap {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* 로그인 카드 */
.login_card {
    position: relative;
    width: 100%;
    max-width: 520px;
    padding: 44px 40px 36px;
    border: 1px solid #dfe8f3;
    border-radius: 32px;
    background: #ffffff;
    box-shadow:
            0 50px 100px rgba(15, 23, 42, 0.14),
            0 16px 40px rgba(37, 67, 150, 0.10);
    backdrop-filter: blur(10px);
    box-sizing: border-box;
    overflow: hidden;
}

.login_card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 32px;
    right: 32px;
    height: 4px;
    border-radius: 0 0 16px 16px;
    background: linear-gradient(90deg, #2f4ecb, #6a86ff);
    opacity: 0.9;
}

/* 브랜드 */
.login_brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
    text-align: center;
}

.w_logo {
    display: block;
    margin: 0 auto;
    width: min(240px, 70%);
    max-width: 100%;
    height: auto;
    text-align: center;
}

.w_logo img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 18px rgba(32, 64, 148, 0.06));
}

.brand_title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: #3152a8;
}

/* 헤더 */
.login_head {
    text-align: center;
    margin-bottom: 28px;
}

.login_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: #e8efff;
    color: #3152a8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.login_head h1 {
    margin: 0 0 12px;
    font-size: 44px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #204094;
}

.w_txt_desc {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #6b7280;
    word-break: keep-all;
}

/* 폼 */
.top_line {
    margin: 0;
}

.box_line {
    margin: 0;
    padding: 0;
    border: 0;
}

.input_row + .input_row {
    margin-top: 14px;
}

.input_box {
    position: relative;
    display: block;
    width: 100%;
}

.mb_icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: #3152a8;
    font-size: 16px;
    opacity: 0.95;
}

.input_box .lbl {
    position: absolute;
    left: 48px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    font-size: 13px;
    font-weight: 800;
    color: #3654a9;
    pointer-events: none;
    letter-spacing: 0.02em;
    transition: all 0.18s ease;
}

.input_box .lbl.focus {
    top: 12px;
    transform: none;
    font-size: 10px;
    color: #7390cb;
}

.input_box .int {
    width: 100%;
    height: 62px;
    padding: 22px 16px 8px 48px;
    border-radius: 18px;
    background: #f1f5fb;
    border: 1px solid #d6e2f1;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.input_box .int::placeholder {
    color: transparent;
}

.input_box .int:focus {
    border-color: #5b7cff;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(91, 124, 255, 0.12);
}

/* 체크 */
.check_info {
    margin-top: 16px;
    margin-bottom: 22px;
}

.login_check {
    display: flex;
    align-items: center;
}

.login_check_box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.login_check_box input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #2947a0;
    cursor: pointer;
}

.login_check_box .sp {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    user-select: none;
}

/* 버튼 */
.login_btn_wrap {
    overflow: hidden;
}

.btn_login {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2942a0 0%, #2e4dc2 100%);
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: 0.02em;
    box-shadow: 0 14px 28px rgba(41, 66, 160, 0.24);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn_login:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(41, 66, 160, 0.28);
}

.btn_login:active {
    transform: translateY(0);
}

.login_help {
    margin-top: 18px;
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
}
.login_help a {
    color: #5b7cff;
    font-weight: 600;
    text-decoration: none;
}

/* =========================
   태블릿
========================= */
@media (max-width: 1024px) {
    .login_center_wrap {
        padding: 28px 18px;
    }

    .login_card {
        max-width: 500px;
        padding: 38px 30px 30px;
        border-radius: 28px;
    }

    .login_head h1 {
        font-size: 38px;
    }
}

/* =========================
   모바일
========================= */
@media (max-width: 768px) {
    .login_page {
        background:
                radial-gradient(circle at top center, rgba(113, 145, 214, 0.16), transparent 34%),
                linear-gradient(180deg, #e7eef8 0%, #edf3f9 100%);
    }

    .login_bg_deco_1 {
        width: 300px;
        height: 300px;
        top: -90px;
        left: -100px;
    }

    .login_bg_deco_2 {
        width: 260px;
        height: 260px;
        right: -100px;
        bottom: -80px;
    }

    .login_center_wrap {
        justify-content: center;
        padding: 76px 14px 24px;
    }

    .login_card {
        max-width: 100%;
        padding: 74px 20px 22px;
        border-radius: 24px;
        box-shadow:
                0 40px 80px rgba(15, 23, 42, 0.12),
                0 12px 30px rgba(37, 67, 150, 0.08);
        overflow: visible;
    }

    .login_card::before {
        left: 24px;
        right: 24px;
    }

    .login_brand {
        position: absolute;
        top: -80px;
        left: 50%;
        transform: translateX(-50%);
        margin-bottom: 0;
        gap: 8px;
        z-index: 2;
        width: auto;
    }

    .w_logo {
        width: 180px;
        margin: 0;
    }

    .w_logo img {
        width: 100%;
    }

    .brand_title {
        font-size: 13px;
        letter-spacing: 0.2em;
        opacity: 0.8;
    }

    .login_head {
        margin-bottom: 22px;
    }

    .login_badge {
        height: 28px;
        margin-bottom: 10px;
        font-size: 10px;
    }

    .login_head h1 {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .w_txt_desc {
        font-size: 13px;
        line-height: 1.6;
    }

    .input_row + .input_row {
        margin-top: 12px;
    }

    .mb_icon {
        left: 16px;
        font-size: 15px;
    }

    .input_box .lbl {
        left: 44px;
        font-size: 12px;
    }

    .input_box .lbl.focus {
        top: 11px;
        font-size: 10px;
    }

    .input_box .int {
        height: 56px;
        padding: 20px 14px 8px 44px;
        border-radius: 16px;
        font-size: 14px;
    }

    .check_info {
        margin-top: 14px;
        margin-bottom: 18px;
    }

    .login_check_box .sp {
        font-size: 12px;
    }

    .btn_login {
        height: 52px;
        border-radius: 16px;
        font-size: 17px;
    }
}

/* =========================
   작은 모바일
========================= */
@media (max-width: 480px) {
    .login_center_wrap {
        padding: 66px 10px 20px;
    }

    .login_card {
        /*margin-top: 28px;*/
        padding: 66px 16px 18px;
        border-radius: 20px;
    }

    .login_card::before {
        left: 20px;
        right: 20px;
    }

    .w_logo {
        width: 156px;
    }

    .brand_title {
        font-size: 12px;
    }

    .login_badge {
        display: none;
    }

    .login_head {
        margin-bottom: 18px;
    }

    .login_head h1 {
        font-size: 24px;
    }

    .w_txt_desc {
        font-size: 12px;
    }

    .input_box .int {
        height: 52px;
        padding: 18px 12px 8px 42px;
        border-radius: 14px;
        font-size: 13px;
    }

    .mb_icon {
        left: 14px;
        font-size: 14px;
    }

    .input_box .lbl {
        left: 38px;
        font-size: 11px;
    }

    .btn_login {
        height: 50px;
        border-radius: 14px;
        font-size: 16px;
    }
}