#boss-auth-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(6px);
    z-index: 999999;
}

#boss-auth-modal.show {
    display: flex;
}

.boss-auth-content {
    background: #0a0f1d;
    border-radius: 20px;
    padding: 40px;
    width: 460px;
    color: #fff;
    position: relative;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.boss-auth-close {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 28px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.boss-field {
    position: relative;
    margin-bottom: 20px;
}

.boss-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #4a9ef7;
}

.boss-field input {
    width: 100%;
    padding: 14px 16px 14px 42px;
    border-radius: 12px;
    border: 1px solid #1e293b;
    background: #0f172a;
    color: #fff;
}

.boss-submit {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    border-radius: 12px;
    font-size: 17px;
    background: linear-gradient(90deg,#3b82f6,#22d3ee);
    color: #fff;
    border: none;
    cursor: pointer;
}

.boss-divider {
    text-align: center;
    margin: 20px 0;
    color: #6b7280;
}

.boss-socials {
    display: flex;
    justify-content: space-between;
}

.boss-social {
    width: 48px;
    height: 48px;
    background: #1e293b;
    border-radius: 12px;
    border: none;
    color: #fff;
    font-size: 20px;
}

.boss-auth-panel { display: none; }

.boss-bottom-text {
    text-align: center;
    margin-top: 12px;
}

.boss-links { margin-top: 10px; text-align: right; }
.boss-links a, .boss-bottom-text a { color: #3b82f6; }


/* 输入框聚焦蓝色描边 + 光晕 */
.boss-field input:focus {
    border-color: #3B82F6;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.55);
    outline: none;
}

/* 记住我 */
.boss-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 22px;
    color: #E5E7EB;
    font-size: 14px;
}
.boss-remember input {
    width: 18px;
    height: 18px;
}

/* “或使用以下方式登录” 文案 */
.boss-divider {
    text-align: center;
    margin: 28px 0 18px;
    color: #9CA3AF;
    font-size: 14px;
}

/* 三方登录区域 */
.boss-socials {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

/* 外层卡片 */
.boss-social {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: #060914;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.boss-social:hover {
    background: #0b1020;
    transform: translateY(-2px);
}

/* 内部圆形图标 */
.boss-social span {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

/* 各平台颜色 - 模仿官方图标的感觉 */
.boss-social-fb span {
    background: #1877F2;
    font-size: 20px;
}

.boss-social-google span {
    background: #EA4335;
}

.boss-social-line span {
    background: #06C755;
    font-size: 13px;
}

.boss-social-x span {
    background: #000000;
    font-size: 18px;
}

.boss-social-discord span {
    background: #5865F2;
}

/* 底部注册文字 */
.boss-bottom-text {
    text-align: center;
    margin-top: 26px;
    color: #9CA3AF;
    font-size: 14px;
}
.boss-bottom-text a {
    color: #3B82F6;
    font-weight: 600;
}

.boss-field input {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.boss-field input:focus {
    background: rgba(255,255,255,0.08) !important; /* 选中时仍然深色背景 */
    border-color: #3B82F6;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.55);
    outline: none;
}

.boss-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.boss-social {
    width: 62px;
    height: 62px;
    background: #060914;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .2s;
}

.boss-social:hover {
    background: #101622;
    transform: translateY(-2px);
}

.boss-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.boss-fb { background: #1877F2; }
.boss-google { background: #fff; }
.boss-line { background: #06C755; }
.boss-x { background: #000; }
.boss-discord { background: #5865F2; }

/* Nextend Social Login 按钮样式覆盖 */
.boss-nsl-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.boss-nsl-buttons .nsl-container {
    display: contents;
}
.boss-nsl-buttons .nsl-container-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}
.boss-nsl-buttons .nsl-button {
    width: 62px !important;
    height: 62px !important;
    border-radius: 18px !important;
    background: #060914 !important;
    border: none !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background .2s ease, transform .2s ease !important;
    min-width: unset !important;
}
.boss-nsl-buttons .nsl-button:hover {
    background: #101622 !important;
    transform: translateY(-2px) !important;
}
.boss-nsl-buttons .nsl-button-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.boss-nsl-buttons .nsl-button-google .nsl-button-icon {
    background: #fff !important;
}
.boss-nsl-buttons .nsl-button-line .nsl-button-icon {
    background: #06C755 !important;
}
.boss-nsl-buttons .nsl-button-discord .nsl-button-icon {
    background: #5865F2 !important;
}
.boss-nsl-buttons .nsl-button svg,
.boss-nsl-buttons .nsl-button img {
    width: 22px !important;
    height: 22px !important;
}
.boss-nsl-buttons .nsl-button-label-container {
    display: none !important;
}