@charset "utf-8";

/* ============================================
   로그인 페이지 - 비즈니스 스타일
   ============================================ */

/* 전체 래퍼 */
.login-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding: 20px;
    font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 카드 */
.login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 20px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 48px 40px 36px;
    animation: fadeUp 0.5s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 로고 */
.login-logo {
    text-align: center;
    margin-bottom: 24px;
}

.login-logo img {
    max-height: 48px;
    width: auto;
}

/* 구분선 */
.login-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin-bottom: 28px;
}

/* 타이틀 */
.login-title {
    text-align: center;
    font-size: 1.375rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.login-subtitle {
    text-align: center;
    font-size: 0.875rem;
    color: #94a3b8;
    margin: 0 0 32px;
    line-height: 1.5;
}

/* 필드셋 초기화 */
#login_fs {
    border: none;
    padding: 0;
    margin: 0;
}

/* 입력 그룹 */
.input-group {
    margin-bottom: 20px;
}

.input-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.input-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s;
}

.login-input {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 44px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.9375rem;
    color: #1e293b;
    background: #f8fafc;
    transition: all 0.2s ease;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
}

.login-input::placeholder {
    color: #cbd5e1;
}

.login-input:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.login-input:focus {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.login-input:focus + .input-icon,
.input-wrap:focus-within .input-icon {
    color: #3b82f6;
}

/* 로그인 버튼 */
.btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 50px;
    margin-top: 28px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    letter-spacing: -0.01em;
}

.btn-login:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.btn-login svg {
    transition: transform 0.2s;
}

.btn-login:hover svg {
    transform: translateX(3px);
}

/* 푸터 */
.login-footer {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.login-footer p {
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 0;
    letter-spacing: -0.01em;
}

/* ============================================
   접근성
   ============================================ */
.sound_only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   반응형
   ============================================ */
@media (max-width: 480px) {
    .login-card {
        padding: 36px 24px 28px;
        border-radius: 12px;
    }

    .login-title {
        font-size: 1.25rem;
    }

    .login-subtitle {
        font-size: 0.8125rem;
    }

    .login-input {
        height: 44px;
        font-size: 0.875rem;
    }

    .btn-login {
        height: 46px;
        font-size: 0.9375rem;
    }
}

/* ============================================
   기존 그누보드 호환 (회원정보 등)
   ============================================ */

/* 기본박스 */
.mbskin {position:relative;margin:100px auto 0;width:360px;text-align:center}
.mbskin .mbskin_box{border:1px solid #dde7e9;background:#fff}
.mbskin .frm_input {width:100%}
.mbskin .btn_submit {width:100%;margin:10px 0 0;height:45px;font-weight:bold;font-size:1.25em}
.mbskin h1 {margin:60px 0 30px;font-size:2em}
.mbskin .tbl_frm01 th {width:85px}

/* 회원 비밀번호 확인 */
#mb_confirm {}
#mb_confirm h1 {margin:60px 0 30px;font-size:2em}
#mb_confirm p {padding:0 20px 40px;border-bottom:1px solid #e9e9e9;font-size:1.083em;line-height:1.4em;color:#656565}
#mb_confirm p strong {display:block;color:#3ca1ff;font-size:1.167em;margin:0 0 5px}
#mb_confirm fieldset {padding:50px;text-align:left}
#mb_confirm fieldset .frm_input {background-color:#fff !important}
#mb_confirm label {letter-spacing:-0.1em}
#mb_confirm_id {display:block;margin:5px 0 10px;font-weight:bold}
#mb_confirm .confirm_id {font-size:0.92em;color:#666}
