/* Agent 身份验证样式 */

/* 游客标识 */
.guest-badge {
    background: rgba(201, 169, 98, 0.2);
    color: #c9a962;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    border: 1px solid rgba(201, 169, 98, 0.3);
    transition: all 0.3s ease;
}

.guest-badge:hover {
    background: rgba(201, 169, 98, 0.3);
}

/* Agent 标识 */
.agent-badge {
    background: linear-gradient(135deg, #c9a962, #8B7355);
    color: #0a0a0a;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

/* Agent 验证弹窗 */
.agent-verify-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agent-verify-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid #c9a962;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    position: relative;
}

.agent-verify-header {
    text-align: center;
    margin-bottom: 30px;
}

.agent-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.agent-verify-header h2 {
    color: #c9a962;
    font-size: 24px;
    margin: 0;
}

.agent-info-box {
    background: rgba(201, 169, 98, 0.1);
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 25px;
}

.agent-notice {
    color: #c9a962;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.verify-form label {
    display: block;
    color: #c9a962;
    margin-bottom: 8px;
    font-size: 14px;
}

.agent-key-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: 4px;
    color: #f5f5f5;
    font-size: 14px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.agent-key-input:focus {
    outline: none;
    border-color: #c9a962;
}

.verify-error {
    color: #e74c3c;
    font-size: 13px;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 4px;
}

.verify-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

.verify-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.agent-benefits {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(201, 169, 98, 0.2);
}

.agent-benefits h4 {
    color: #c9a962;
    margin: 0 0 15px 0;
    font-size: 14px;
}

.agent-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.agent-benefits li {
    color: #888;
    padding: 5px 0;
    font-size: 13px;
}

/* 游客模式提示 */
.guest-notice {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: 8px;
    padding: 15px 20px;
    max-width: 300px;
    z-index: 9999;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.guest-notice h4 {
    color: #c9a962;
    margin: 0 0 10px 0;
    font-size: 14px;
}

.guest-notice p {
    color: #888;
    margin: 0 0 15px 0;
    font-size: 13px;
    line-height: 1.5;
}

.guest-notice button {
    background: transparent;
    border: 1px solid #c9a962;
    color: #c9a962;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
}

.guest-notice button:hover {
    background: #c9a962;
    color: #0a0a0a;
}

/* 权限限制提示 */
.agent-required {
    position: relative;
}

.agent-required::after {
    content: '🔒';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    opacity: 0.5;
}

/* 隐藏/显示控制 */
.agent-only {
    display: none;
}

.agent-only.visible {
    display: block;
}

.guest-only.hidden {
    display: none;
}

/* 按钮状态 */
.btn-agent {
    background: linear-gradient(135deg, #c9a962, #8B7355);
    color: #0a0a0a;
}

.btn-guest {
    background: transparent;
    border: 1px solid #c9a962;
    color: #c9a962;
}

/* 移除语言切换样式 */
.lang-switcher {
    display: none !important;
}
