/**
 * auth-nav.css
 * 정적 페이지 공용 - 로그인 상태 상단바 드롭다운 스타일
 * auth-nav.js 와 함께 사용
 */

/* 나의 계정 wrapper */
.fc-nav-account {
    position: relative;
    display: inline-flex;
}

/* 나의 계정 버튼 */
.fc-nav-account-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: #1D64F2;
    color: #fff !important;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    border-radius: 6px;
    border: 1.5px solid #1D64F2;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}
.fc-nav-account-btn:hover {
    background: #1243A6;
    border-color: #1243A6;
}
.fc-nav-account-btn i {
    font-size: 12px;
}

/* 드롭다운 메뉴 */
.fc-nav-account-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
    z-index: 9999;
}
.fc-nav-account-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 메뉴 아이템 */
.fc-nav-account-menu a,
.fc-nav-account-menu button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    font-size: 17px;
    font-weight: 400;
    color: #1d1d1f;
    border-radius: 10px;
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.12s ease;
    text-decoration: none;
    box-sizing: border-box;
}
.fc-nav-account-menu a:hover,
.fc-nav-account-menu button:hover {
    background: #f5f5f7;
}

/* 아이콘 */
.fc-nav-account-menu i {
    font-size: 18px;
    color: #86868b;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}
.fc-nav-account-menu a:hover i,
.fc-nav-account-menu button:hover i {
    color: #1D64F2;
}

/* 구분선 */
.fc-nav-account-divider {
    height: 1px;
    background: #e5e5e7;
    margin: 6px 10px;
}

/* 로그아웃 */
.fc-nav-account-logout {
    color: #86868b !important;
}
.fc-nav-account-logout:hover {
    color: #F24822 !important;
}
