/* 인증·계정 페이지 공통 스타일.
   메인 페이지 디자인 언어(플랫 사각, 포인트 블루 #3090d6, 볼드 #333333)를 그대로 따른다. */

.auth-wrap {
    display: flex;
    justify-content: center;
    padding: 55px 0 75px;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background-color: #fff;
    border: 1px solid #e3e3e3;
    border-top: 4px solid #3090d6;
    padding: 42px 40px 40px;
}

.auth-card--wide {
    max-width: 640px;
}

.auth-title {
    font-size: 22px;
    font-weight: bold;
    color: #333333;
    text-align: center;
    margin: 0 0 8px;
}

.auth-subtitle {
    font-size: 14px;
    color: #767676;
    text-align: center;
    margin: 0 0 30px;
    line-height: 1.6;
    word-break: keep-all;
}

/* ── 폼 필드 ── */
.auth-field {
    margin-bottom: 16px;
}

.auth-field label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 6px;
}

.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="password"] {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    font-size: 15px;
    color: #333333;
    border: 1px solid #cfcfcf;
    border-radius: 0;
    background-color: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.auth-field input:focus {
    outline: none;
    border-color: #3090d6;
    box-shadow: 0 0 0 3px rgba(48, 144, 214, 0.15);
}

.auth-field--checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-field--checkbox label {
    margin-bottom: 0;
    font-weight: normal;
    color: #555555;
}

.auth-field--checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #3090d6;
}

.auth-error {
    display: block;
    font-size: 13px;
    color: #d9534f;
    margin-top: 5px;
}

.auth-alert {
    font-size: 14px;
    line-height: 1.6;
    padding: 12px 14px;
    margin-bottom: 18px;
    border: 1px solid #eccccb;
    background-color: #fdf4f4;
    color: #c9302c;
    word-break: keep-all;
}

.auth-alert p {
    margin: 0;
}

/* ── 버튼 ── */
.auth-submit {
    width: 100%;
    height: 52px;
    margin-top: 10px;
    border: none;
    background-color: #3090d6;
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.15s;
}

.auth-submit:hover {
    background-color: #2277b8;
}

.auth-btn-secondary {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #cfcfcf;
    background-color: #fff;
    color: #333333;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}

.auth-btn-secondary:hover {
    border-color: #3090d6;
    color: #3090d6;
    text-decoration: none;
}

.auth-btn-danger {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #e4b9b8;
    background-color: #fff;
    color: #d9534f;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

.auth-btn-danger:hover {
    background-color: #d9534f;
    border-color: #d9534f;
    color: #fff;
}

/* ── 링크·구분선 ── */
.auth-links {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #767676;
}

.auth-links a {
    color: #3090d6;
    font-weight: bold;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 26px 0 18px;
    font-size: 13px;
    color: #999999;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #e3e3e3;
}

/* ── 소셜 로그인 버튼 ── */
.auth-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 46px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid transparent;
    transition: filter 0.15s;
}

.auth-social-btn:hover {
    filter: brightness(0.96);
    text-decoration: none;
}

.auth-social-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.auth-social-btn--google {
    background-color: #fff;
    border-color: #cfcfcf;
    color: #333333;
}

.auth-social-btn--google:hover {
    color: #333333;
}

.auth-social-btn--kakao {
    background-color: #fee500;
    color: #191919;
}

.auth-social-btn--kakao:hover {
    color: #191919;
}

.auth-social-btn--naver {
    background-color: #03c75a;
    color: #fff;
}

.auth-social-btn--naver:hover {
    color: #fff;
}

/* ── 상태 안내 페이지 (메일 발송 완료 등) ── */
.auth-status {
    text-align: center;
}

.auth-status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background-color: rgba(48, 144, 214, 0.1);
}

.auth-status-icon i {
    font-size: 28px;
    color: #3090d6;
}

.auth-status-icon--warn {
    background-color: rgba(217, 83, 79, 0.1);
}

.auth-status-icon--warn i {
    color: #d9534f;
}

.auth-status p {
    font-size: 15px;
    color: #555555;
    line-height: 1.7;
    margin: 0 0 4px;
    word-break: keep-all;
}

/* auth-submit(전체 폭 강조 버튼)을 <a> 링크로 쓸 때 텍스트를 가운데 정렬한다. */
.auth-submit-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.auth-submit-link:hover {
    text-decoration: none;
    color: #fff;
}

/* ── 마이페이지 ── */
.profile-head {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 26px;
    border-bottom: 1px solid #eeeeee;
}

.profile-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: #3090d6;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    flex-shrink: 0;
}

.profile-id {
    min-width: 0;
}

.profile-email {
    font-size: 17px;
    font-weight: bold;
    color: #333333;
    word-break: break-all;
}

.profile-joined {
    font-size: 13px;
    color: #767676;
    margin-top: 4px;
}

.profile-menu {
    margin-top: 6px;
}

.profile-menu a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 4px;
    border-bottom: 1px solid #eeeeee;
    font-size: 15px;
    font-weight: bold;
    color: #333333;
    text-decoration: none;
    transition: background-color 0.15s;
}

.profile-menu a:hover {
    background-color: #f5f9fd;
    text-decoration: none;
    color: #333333;
}

.profile-menu i:first-child {
    width: 20px;
    text-align: center;
    font-size: 16px;
    color: #3090d6;
}

.profile-menu .profile-menu-arrow {
    margin-left: auto;
    color: #cccccc;
    font-size: 13px;
}

.profile-menu a.profile-menu-danger,
.profile-menu a.profile-menu-danger i:first-child {
    color: #d9534f;
}

.profile-menu a.profile-menu-danger:hover {
    background-color: #fdf4f4;
}

/* ── 계정 관리 목록 (이메일 주소·소셜 연결) ── */
.manage-section-title {
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    margin: 34px 0 14px;
}

.manage-list {
    border-top: 1px solid #eeeeee;
}

.manage-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 4px;
    border-bottom: 1px solid #eeeeee;
    font-size: 15px;
    color: #333333;
    cursor: pointer;
    margin: 0;
    font-weight: normal;
}

.manage-item input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #3090d6;
    flex-shrink: 0;
}

.manage-item-label {
    word-break: break-all;
}

.auth-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: bold;
    vertical-align: 1px;
}

.auth-badge--ok {
    background-color: rgba(48, 144, 214, 0.12);
    color: #2277b8;
}

.auth-badge--warn {
    background-color: #fdf1e0;
    color: #c77c11;
}

.auth-badge--primary {
    background-color: #3090d6;
    color: #fff;
}

.manage-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.manage-empty {
    font-size: 14px;
    color: #767676;
    padding: 14px 0;
    word-break: keep-all;
}
