/* ==================================================
   RESET
================================================== */
.login-page,
.login-page * {
    box-sizing: border-box;
    font-family: "Pretendard Variable",
                 -apple-system,
                 BlinkMacSystemFont,
                 system-ui,
                 sans-serif;
}

/* ==================================================
   LAYOUT
================================================== */
.login-page {
    display: flex;
    min-height: 100vh;
    background: #ffffff;
}

/* ==================================================
   LEFT VISUAL
================================================== */
.login-visual {
    flex: 1.2; /* ⬅ 왼쪽 더 크게 */
    position: relative;
    padding: 64px 72px;
    background: url("/static/style/2/login.jpg")center / cover no-repeat;
    color: #ffffff;
}

/* 상단 문구 */
.login-visual-inner {
    margin-top: 40px;
}

.login-visual-inner h1 {
    font-size: 40px;        /* ⬅ 크게 */
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}

.login-visual-inner p {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.85;
    letter-spacing: 0.04em;
}

/* 좌측 하단 로고 */
.login-visual .topbar-logo-mark {
    position: absolute;
    bottom: 36px;
    left: 48px;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.login-visual .topbar-logo-text {
    position: absolute;
    bottom: 36px;
    left: 78px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    opacity: 0.9;
}

/* ==================================================
   RIGHT PANEL
================================================== */
.login-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #111827;
}

.login-panel * {
    color: #111827;
}

/* ==================================================
   LOGIN CARD
================================================== */
.login-content {
    width: 420px; /* ⬅ 기존 360 → 확대 */
}

.login-title {
    font-size: 22px; /* ⬅ 살짝 키움 */
    font-weight: 700;
    margin-bottom: 8px;
}

.login-desc {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 32px;
}

/* ==================================================
   FORM
================================================== */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-label {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

/* ==================================================
   INPUT
================================================== */
.field-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    height: 48px;           /* ⬅ 더 큼 */
    padding: 0 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 2px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field-input-wrap:focus-within {
    border-color: #be185d;
    box-shadow: 0 0 0 1px rgba(190, 24, 93, 0.35);
}

.field-input-wrap input {
    flex: 1;
    height: 100%;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 14px;
    color: #111827;
}

/* ==================================================
   PASSWORD TOGGLE
================================================== */
.field-input-password {
    padding-right: 44px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================================================
   LOGIN BUTTON
================================================== */
.login-submit {
    margin-top: 10px;
    height: 48px;          /* ⬅ 버튼 키움 */
    border-radius: 2px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    background: #be185d;
    color: #ffffff;
    transition: background-color 0.15s ease, transform 0.05s ease;
}

.login-submit:hover {
    background: #9d174d;
}

.login-submit:active {
    transform: translateY(1px);
}

/* ==================================================
   MOBILE
================================================== */
@media (max-width: 768px) {
    .login-visual {
        display: none;
    }

    .login-content {
        width: 100%;
        max-width: 420px;
        padding: 0 24px;
    }
}
