/* ========================================
   인증 페이지 스타일
   ======================================== */

.auth-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.auth-wrapper {
    width: 100%;
    max-width: 420px;
}

.auth-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.auth-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* 로그인/회원가입 폼 */
.auth-form {
    margin-top: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.25rem;
}

.auth-form .form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.auth-form .form-control {
    height: 46px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: all 0.2s;
}

.auth-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.15);
}

.auth-form .input-group-text {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px 0 0 8px;
}

/* 로그인 버튼 */
.auth-submit-btn {
    width: 100%;
    height: 48px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 1.5rem;
    transition: all 0.2s;
}

/* 링크 */
.auth-link {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.auth-link a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* 에러 메시지 */
.auth-error {
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    color: #c33;
    font-size: 0.9rem;
}

.auth-error i {
    margin-right: 0.5rem;
}

/* 성공 메시지 */
.auth-success {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    color: #2e7d32;
    font-size: 0.9rem;
}

.auth-success i {
    margin-right: 0.5rem;
}

/* Remember me 체크박스 */
.auth-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.auth-remember input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.auth-remember label {
    margin: 0;
    cursor: pointer;
    font-weight: 400;
    color: var(--text-secondary);
}

/* 구분선 */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}

.auth-divider span {
    padding: 0 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* 반응형 */
@media (max-width: 480px) {
    .auth-container {
        padding: 2rem 1.5rem;
    }

    .auth-logo-icon {
        font-size: 3rem;
    }

    .auth-title {
        font-size: 1.5rem;
    }

    .auth-form .form-control {
        height: 44px;
        font-size: 0.9rem;
    }

    .auth-submit-btn {
        height: 46px;
        font-size: 0.95rem;
    }
}
