@charset "UTF-8";
/* 산모 앱 로그인 — 앱 공통 톤(코랄 · 크림)과 맞춤 */

:root {
    --point: #D9806F;
    --point-dark: #C26B5A;
    --point-soft: #FBEAE5;
    --ink: #4A3B34;
    --ink-sub: #8A776E;
    --ink-mute: #B3A39B;
    --line: #F0E4DF;
    --bg: #FAF5F2;
    --cream: #FDF9F7;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Noto Sans KR', sans-serif; }
button, input { font: inherit; color: inherit; }

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: radial-gradient(ellipse at top left, #FDEDE7 0%, var(--bg) 55%) fixed;
    color: var(--ink);
    letter-spacing: -0.2px;
    overflow-x: hidden;
    position: relative;
}

/* 배경 장식 */
.bg-blob { position: fixed; border-radius: 50%; filter: blur(60px); opacity: 0.55; z-index: 0; pointer-events: none; }
.bg-blob.b1 { width: 420px; height: 420px; background: #F8CFC4; top: -140px; right: -120px; }
.bg-blob.b2 { width: 360px; height: 360px; background: #F6E0C8; bottom: -140px; left: -100px; }

/* 전체 틀 : 좌 소개 + 우 로그인 */
.login-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 920px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(122, 86, 70, 0.14);
    border: 1px solid #F6EEEA;
}

/* ---------- 좌 : 소개 ---------- */
.login-intro {
    position: relative;
    padding: 48px 44px;
    background: linear-gradient(150deg, #F2A796 0%, var(--point) 55%, #C9705F 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.login-intro::before,
.login-intro::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,0.10); }
.login-intro::before { width: 260px; height: 260px; right: -90px; top: -70px; }
.login-intro::after { width: 180px; height: 180px; left: -60px; bottom: -60px; }

.intro-logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; position: relative; }
.intro-logo b { font-weight: 700; color: #FFE3DB; }
.intro-logo .logo-mark { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,0.22); display: inline-flex; align-items: center; justify-content: center; }
.intro-logo .logo-mark svg { width: 22px; height: 22px; }

.login-intro h2 { margin-top: 44px; font-size: 30px; line-height: 1.38; font-weight: 700; letter-spacing: -0.8px; position: relative; }
.intro-sub { margin-top: 14px; font-size: 14.5px; opacity: 0.9; position: relative; }

.intro-list { list-style: none; margin-top: auto; padding-top: 36px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.intro-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,0.14); backdrop-filter: blur(4px); }
.intro-list .ic { width: 36px; height: 36px; border-radius: 11px; background: rgba(255,255,255,0.9); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.intro-list b { display: block; font-size: 14.5px; font-weight: 700; }
.intro-list small { display: block; font-size: 12.5px; opacity: 0.88; margin-top: 1px; }

/* ---------- 우 : 로그인 ---------- */
.login-container { padding: 52px 48px 40px; display: flex; flex-direction: column; justify-content: center; }

/* 로고 : 좁은 화면(소개 숨김)에서만 */
.login-logo { display: none; text-align: center; margin-bottom: 28px; }
.login-logo .logo-mark { width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(135deg, #F0A898, var(--point)); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(217,128,111,0.35); }
.login-logo .logo-mark svg { width: 30px; height: 30px; }
.login-logo h1 { margin-top: 14px; font-size: 26px; font-weight: 700; color: var(--ink); letter-spacing: -0.5px; }
.login-logo h1 b { color: var(--point); }
.login-logo p { margin-top: 4px; font-size: 13.5px; color: var(--ink-sub); }

.login-head { margin-bottom: 26px; }
.login-head h3 { font-size: 24px; font-weight: 700; color: var(--ink); }
.login-head p { margin-top: 6px; font-size: 13.5px; color: var(--ink-sub); }

.login-form { width: 100%; }
.input-group { width: 100%; margin-bottom: 18px; }
.input-group label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; color: var(--ink-sub); }
.input-wrap { position: relative; }
.input-wrap .in-ic { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--ink-mute); pointer-events: none; transition: color .15s; }
.input-wrap input {
    width: 100%;
    height: 52px;
    padding: 0 48px 0 44px;
    border: 1px solid #EADBD5;
    border-radius: 14px;
    font-size: 15px;
    background: var(--cream);
    outline: none;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.input-wrap input::placeholder { color: var(--ink-mute); }
.input-wrap input:focus { border-color: var(--point); background: #fff; box-shadow: 0 0 0 4px rgba(217,128,111,0.14); }
.input-wrap:focus-within .in-ic { color: var(--point); }

.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-mute); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.pw-toggle svg { width: 19px; height: 19px; }
.pw-toggle:hover { background: #F7EFEB; color: var(--ink-sub); }
.pw-toggle.on { color: var(--point); }

.input-hint { margin-top: 7px; font-size: 12.5px; color: var(--ink-mute); }

.btn-primary {
    width: 100%;
    height: 54px;
    margin-top: 8px;
    background: linear-gradient(135deg, #E8907E, var(--point));
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(217,128,111,0.32);
    transition: transform .08s, box-shadow .15s, filter .15s;
}
.btn-primary:hover { filter: brightness(0.97); box-shadow: 0 12px 26px rgba(217,128,111,0.4); }
.btn-primary:active { transform: scale(0.985); }

.login-foot { margin-top: 22px; text-align: center; font-size: 12.5px; color: var(--ink-mute); }

/* ---------- 좁은 화면 : 로그인 카드만 ---------- */
@media (max-width: 820px) {
    .login-shell { grid-template-columns: 1fr; max-width: 440px; border-radius: 24px; }
    .login-intro { display: none; }
    .login-logo { display: block; }
    .login-container { padding: 40px 30px 30px; }
    .login-head { text-align: center; margin-bottom: 22px; }
    .login-head h3 { font-size: 20px; }
}
@media (max-width: 480px) {
    body { padding: 16px; align-items: flex-start; padding-top: 7vh; }
    .login-container { padding: 34px 22px 26px; }
    .login-logo { margin-bottom: 22px; }
}
