/* 기본 설정 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    /* 어두우면서도 은은한 그라데이션 배경 */
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 20px;
    overflow: hidden; /* 배경 애니메이션이 화면을 벗어나지 않도록 */
    position: relative;
}

/* 배경에 둥근 원형 효과 추가 (시각적 깊이) */
body::before, body::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(50px);
    z-index: 0;
}

body::before {
    background: #4a5568;
    width: 300px;
    height: 300px;
    top: -50px;
    left: -50px;
    animation: moveCircle1 15s infinite alternate;
}

body::after {
    background: #667eea;
    width: 250px;
    height: 250px;
    bottom: -50px;
    right: -50px;
    animation: moveCircle2 18s infinite alternate-reverse;
}
/* login  page  */

section {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background: #f4f6fb;
}

.container_wrap {
    justify-content: stretch;
    align-items: stretch;
}

.visual {
    flex: 1;
    position: relative;
    background: linear-gradient(160deg, #1d4ed8, #0ea5e9 70%), url('/images/bg_login.webp') center/cover;
    background-blend-mode: multiply;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px;
    color: #fff;
}

.visual .brand {
    font-size: 1.15em;
    font-weight: 700;
    letter-spacing: .02em;
}

.visual .headline {
    max-width: 380px;
}

.visual .headline h1 {
    font-size: 2em;
    line-height: 1.35;
    font-weight: 700;
    margin-bottom: 14px;
}

.visual .headline p {
    font-size: .95em;
    color: rgba(255, 255, 255, .8);
    line-height: 1.6;
}

.logo {
    position: static;
    margin: 0;
}

.logo p {
    font-size: .85em;
    font-weight: 500;
    color: rgba(255, 255, 255, .75);
}

.form-side {
    flex: 0 0 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.form-box {
    width: 100%;
    max-width: 360px;
    background: #fff;
    border-radius: 18px;
    padding: 44px 36px;
    box-shadow: 0 20px 45px rgba(30, 41, 59, .08);
    border: 1px solid #eef0f4;
}

.form-value {
    width: 100%;
}

.form-box h2 {
    font-size: 1.4em;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.subtitle {
    font-size: .85em;
    color: #94a3b8;
    margin-bottom: 28px;
}

.inputBox {
    position: relative;
    margin-bottom: 18px;
}

.inputBox label {
    display: block;
    font-size: .8em;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

.inputBox i {
    position: absolute;
    left: 14px;
    top: 38px;
    color: #94a3b8;
    font-size: .9rem;
}

.inputBox input {
    width: 100%;
    height: 46px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    outline: none;
    font-size: .92em;
    padding: 0 14px 0 40px;
    color: #0f172a;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.inputBox input:focus {
    background: #fff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.forget {
    margin: 2px 0 24px;
    font-size: .8em;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forget label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.forget a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.forget a:hover {
    text-decoration: underline;
}

button {
    width: 100%;
    height: 46px;
    border-radius: 10px;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: .92em;
    font-weight: 700;
    color: #fff;
    background: #2563eb;
    transition: background .15s ease, transform .15s ease;
}

button:hover {
    background: #1d4ed8;
}

button:active {
    transform: translateY(1px);
}

@media (max-width: 860px) {
    .visual {
        display: none;
    }

    .form-side {
        flex: 1;
    }
}
