@charset "utf-8";

/* =========================================
   1. Reset & Global Layout
   ========================================= */
* {
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #f0f9ff 0%, #bae6fd 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Spoqa Han Sans', sans-serif;
    color: #1e293b;
    height: auto;
}

a {
    text-decoration: none !important;
    color: inherit;
    cursor: pointer;
}

ul, li {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* =========================================
   2. Common Components (Card, Logo, Footer)
   ========================================= */

/* 메인 흰색 박스 (로그인/MFA 공통) */
.login-box,
.mfa-box {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    width: 100%;
}

/* 로고 컨테이너 */
.logo,
.logo_container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.logo img,
.main_ci_logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 10px;
}

/* 푸터 영역 */
.login-footer {
    text-align: center;
    padding: 10px 0;
    width: 100%;
}

.copyright {
    font-size: 11px;
    color: #64748b;
    letter-spacing: 0.3px;
    opacity: 0.8;
}

/* =========================================
   3. Form Elements (Inputs, Buttons)
   ========================================= */

/* 라벨 */
label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #555;
}

/* 입력 필드 공통 */
input[type="text"],
input[type="password"],
select,
.form-control {
    width: 100%;
    height: 48px;
    margin-bottom: 12px;
    padding: 0 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

input:focus,
select:focus {
    outline: none;
    border-color: #00A9E0;
}

/* 메인 액션 버튼 (파란색) */
.btn-submit,
.confirm-button {
    width: 100%;
    height: 52px;
    background: #00A9E0;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-submit:hover,
.confirm-button:hover {
    background: #008cc0;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn-submit:active,
.confirm-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 비활성화 버튼 */
.btn-submit:disabled,
.confirm-button.disabled {
    background-color: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* 에러 메시지 */
.error-message,
.warning {
    color: #D9534F;
    font-size: 14px;
    margin: 10px 0;
    text-align: center;
}

/* 폼 하단 옵션 링크들 */
.form-options {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #64748b;
    margin-top: 15px;
}

.form-group {
    margin-bottom: 10px;
}