/* js/auth-modal.css - 몽실몽실 계정 연동 및 로그인 UI */

.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.auth-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    width: 90%;
    max-width: 400px;
    padding: 30px 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    text-align: center;
}

.auth-modal-overlay.active .auth-modal-container {
    transform: translateY(0) scale(1);
}

.auth-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f0f0f0;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    transition: all 0.2s;
}

.auth-close-btn:hover {
    background: #e0e0e0;
    color: #333;
    transform: scale(1.05);
}

.auth-header-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    display: inline-block;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.auth-desc {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 25px;
    line-height: 1.4;
    word-break: keep-all;
}

/* 소셜 로그인 버튼 공통 */
.social-login-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
}

.social-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-login-btn:active {
    transform: translateY(0);
}

/* 카카오 로그인 */
.btn-kakao {
    background-color: #FEE500;
    color: #000000;
}

/* 구글 로그인 */
.btn-google {
    background-color: #ffffff;
    color: #757575;
    border: 1px solid #ddd;
}

/* 임시 알림 (구현 전) */
.auth-toggle-text {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #999;
}

/* 유저 프로필 헤더 버튼 (우측 상단) */
.header-user-btn {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(200, 200, 200, 0.5);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 10px;
}

.header-user-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.user-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: bold;
}

.header-actions-wrapper {
    display: flex;
    align-items: center;
}