/**
 * 逐光圈 PC 端 - 按钮系统修复
 * 确保所有按钮渲染正常，无样式冲突
 */

/* 按钮基础样式 */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.5;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    user-select: none;
    -webkit-appearance: none;
    appearance: none;
}

.btn-premium:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

.btn-premium:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* 主按钮 - 青蓝渐变 */
.btn-premium-primary {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.25);
}

.btn-premium-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.35);
    background: linear-gradient(135deg, #0891b2, #0e7490);
}

.btn-premium-primary:active:not(:disabled) {
    transform: translateY(0);
}

/* 幽灵按钮 - 边框样式 */
.btn-premium-ghost {
    background: transparent;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.btn-premium-ghost:hover:not(:disabled) {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #06b6d4;
}

/* 小按钮 */
.btn-premium-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 6px;
}

/* 大按钮 */
.btn-premium-lg {
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 10px;
}

/* Bootstrap 按钮兼容层 */
.btn.btn-primary {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    border-color: #06b6d4;
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.25);
}

.btn.btn-primary:hover {
    background: linear-gradient(135deg, #0891b2, #0e7490);
    border-color: #0891b2;
}

.btn.btn-outline-primary {
    color: #06b6d4;
    border-color: #06b6d4;
}

.btn.btn-outline-primary:hover {
    background: #06b6d4;
    color: #ffffff;
}

.btn.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #10b981;
}

.btn.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-color: #ef4444;
}

/* 表单按钮对齐 */
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

/* 按钮组 */
.btn-group-premium {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
}
