﻿body {
    background-color: #121212;
    color: #fff;
}

.login-container {
    max-width: 400px;
    margin: 80px auto;
    padding: 0 20px;
}

.login-item {
    display: flex;
    align-items: center;
    background: #2a2a2a;
    border-radius: 8px;
    padding: 0 15px;
    margin-bottom: 20px;
    height: 52px;
}

    .login-item i {
        font-size: 20px;
        color: #ccc;
        margin-right: 12px;
    }

    .login-item span {
        color: #fff;
        font-size: 16px;
        margin-right: 10px;
        white-space: nowrap;
    }

    .login-item input {
        flex: 1;
        padding-left: 10px;
        background: transparent !important;
        border: none;
        outline: none;
        color: #fff;
        font-size: 16px;
        height: 100%;
        box-shadow: none;
    }

        .login-item input::placeholder {
            color: #888;
        }

    .login-item .toggle-pwd {
        cursor: pointer;
        font-size: 18px;
        color: #ccc;
    }

.btn-login {
    display: block;
    width: 100%;
    height: 52px;
    line-height: 52px;
    text-align: center;
    background: #1aad9e;
    color: #fff;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
}

    .btn-login:hover {
        background: #17a08f;
    }

.tip {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-top: 16px;
}

.msg {
    text-align: center;
    font-size: 14px;
    margin-top: 12px;
    min-height: 20px;
}

.msg-err {
    color: #ff5c5c;
}

.msg-ok {
    color: #1aad9e;
}

/* 解决 Chrome autofill 白底 */
.login-item input:-webkit-autofill,
.login-item input:-webkit-autofill:hover,
.login-item input:-webkit-autofill:focus,
.login-item input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #2a2a2a inset !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff;
    transition: background-color 9999s ease-in-out 0s;
}

.login-item input:-moz-autofill {
    box-shadow: 0 0 0 1000px #2a2a2a inset !important;
    -moz-text-fill-color: #fff !important;
}

.login-tip-top {
    font-size: 11px;
    color: #ff6a00; /* 醒目色，可改成你要的主题色 */
    line-height: 1.5;
    margin: 0 0 12px;
    padding: 5px 10px;
    background: #fff7ef; /* 浅色底，突出提示 */
    border-radius: 6px;
    text-align: center;
}
    .login-tip-top b {
        color: #e60012;
        font-size: 14px;
    }

    .login-tip-top .login-coin-icon {
        color: #f7b500; /* 金币金色 */
        font-size: 14px;
        margin-right: 5px;
        vertical-align: -1px;
    }


/* 通用高亮提示（金币 / VIP 通用） */
.hl-tip {
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin: 0 auto 20px; /* 居中 + 下间距 */
    padding: 10px 5px;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 500;
    color: #8a5a00; /* 深金棕字，保证可读性 */
    background: linear-gradient(90deg, #fff6d8 0%, #ffe9a8 50%, #fff6d8 100%);
    border: 1px solid #f0d488;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(240, 180, 0, 0.18);
    white-space: nowrap;
    max-width: 100%;
}

    /* 高亮关键字（88金币 / VIP会员） */
    .hl-tip b {
        color: #e60012;
        font-weight: 700;
        margin: 0 2px;
    }

    /* 图标 */
    .hl-tip .hl-icon {
        font-size: 14px;
        color: #f7b500;
        flex: 0 0 auto;
        animation: hlPulse 1.6s ease-in-out infinite; /* 轻微呼吸，可选 */
    }

@keyframes hlPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}