/* /css/user.css */

:root {
    --navy-blue: #1a557a;
    --primary-blue: #0d6efd;
    --soft-gray: #f8f9fc;
    --error-red: #e03131;
}

body {
    background-color: #f4f7fa;
}

.user-container {
    max-width: 720px;
    margin: 30px auto;
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 3rem !important;
    border: 1px solid #e1e8ed;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.text-navy { color: var(--navy-blue); }

.title-underline {
    width: 50px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 2px;
}

/* 필수 라벨 */
.required-label::after {
    content: " *";
    color: var(--error-red);
    font-weight: bold;
}

/* 입력 필드 */
.form-control {
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.1);
}

/* 비밀번호 가이드 */
.rule-item {
    font-size: 0.8rem;
    display: inline-block;
    margin-right: 10px;
    transition: color 0.3s;
}

.rule-item.invalid { color: #adb5bd; }
.rule-item.valid { color: #2f9e44; font-weight: 600; }

#passwordStrengthBar {
    height: 6px;
    border-radius: 10px;
    background-color: #e9ecef;
    overflow: hidden;
}

/* 버튼 커스텀 */
.btn-primary-blue {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 12px;
}

.btn-primary-blue:hover {
    background-color: #0b5ed7;
    transform: translateY(-1px);
}

.btn-outline-light-custom {
    background: transparent;
    border: 1px solid #dee2e6;
    color: #6c757d;
}

/* 에러 메시지 */
.error-message {
    color: var(--error-red);
    font-size: 0.8rem;
    margin-top: 5px;
    font-weight: 500;
}

.bg-light-soft {
    background-color: #f8f9fc;
}

/* 스위치 스타일 */
.form-check-input:checked {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}