/* 상단 메뉴 (js/auth.js가 삽입) */
.auth-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 12px 20px;

    background: #1e1e1e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);

    font-family: Arial, "맑은 고딕", sans-serif;
    font-size: 14px;
}

.auth-nav a {
    color: #bbbbbb;
    text-decoration: none;
}

.auth-nav a:hover {
    color: #ffffff;
}

.auth-nav .brand {
    font-weight: bold;
    color: #ffffff;
}

.auth-nav .menu {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #777777;
}

.auth-nav .user-email {
    color: #aaaaaa;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 6px;
}

.auth-nav button {
    display: inline-block;
    margin: 0;
    padding: 6px 14px;
    font-size: 14px;
    border-radius: 8px;
}

body.has-auth-nav {
    padding-top: 60px;
}

/* 가입 / 로그인 폼 */
.auth-form label {
    display: block;
    margin: 16px 0 6px;
    color: #bbbbbb;
    font-size: 14px;
}

.auth-form input {
    width: 100%;
    padding: 12px 14px;

    background: #252525;
    color: #eeeeee;

    border: 1px solid #444444;
    border-radius: 10px;

    font-size: 16px;
    font-family: inherit;
}

.auth-form input:focus {
    outline: none;
    border-color: #1976d2;
}

.auth-form button {
    width: 100%;
}

.auth-message {
    margin-top: 20px;
    min-height: 1.4em;
    text-align: center;
    font-size: 14px;
    color: #aaaaaa;
}

.auth-message.error {
    color: #e53935;
}

.auth-message.success {
    color: #43a047;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #777777;
}

.auth-links a {
    color: #1976d2;
}

/* Google 로그인 */
.auth-divider {
    text-align: center;
    margin-top: 20px;
    color: #777777;
    font-size: 13px;
}

.auth-form + .auth-divider + .google-btn,
.google-btn {
    width: 100%;
    margin-top: 12px;
    padding: 12px 20px;
    font-size: 16px;
    background-color: #ffffff;
    color: #333333;
}

.google-btn:hover {
    background-color: #e8e8e8;
}

/* 마이페이지 */
.mypage-section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #333333;
}

.mypage-section h2 {
    margin: 0 0 12px;
    font-size: 18px;
    color: #ffffff;
}

.info-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
    color: #bbbbbb;
}

.info-row span:last-child {
    color: #eeeeee;
    text-align: right;
    word-break: break-all;
}

.auth-form .danger-btn {
    background-color: #b71c1c;
}

.auth-form .danger-btn:hover {
    background-color: #e53935;
}

.hint {
    font-size: 13px;
    color: #777777;
    margin: 8px 0 0;
}

.pw-hint {
    margin: 6px 0 0;
    font-size: 12px;
    color: #777777;
}
