/* 自定义样式 */

/* 忘记密码表单相关样式 */
.forgot-password-form input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transition: all 0.2s ease;
}

/* 验证码按钮样式 */
.verification-code-btn {
    transition: all 0.3s ease;
}

.verification-code-btn:disabled {
    background-color: #f3f4f6 !important;
    color: #9ca3af !important;
    cursor: not-allowed;
    opacity: 0.7;
}

/* 密码输入框样式 */
.password-input {
    position: relative;
}

.password-input input {
    padding-right: 2.5rem;
}

/* 表单验证错误状态 */
.form-input.error {
    border-color: #ef4444;
}

.form-input.success {
    border-color: #10b981;
}

/* 动画效果扩展 */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.animate-pulse-slow {
    animation: pulse 3s infinite;
}

/* 渐变背景 */
.bg-gradient-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* 阴影效果 */
.shadow-hover {
    transition: all 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .section-padding {
        padding-top: 12rem !important;
        padding-bottom: 8rem !important;
    }
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 推荐系统页面样式 */

/* 推荐卡片样式 */
.referral-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.referral-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* 邀请链接输入框样式 */
.referral-link-input {
    background-color: #f9fafb;
    border: 2px solid #e5e7eb;
    transition: all 0.2s ease;
}

.referral-link-input:focus {
    background-color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 复制按钮样式 */
.copy-button {
    transition: all 0.2s ease;
}

.copy-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.copy-button:active {
    transform: translateY(0);
}

/* 分享按钮样式 */
.share-button {
    transition: all 0.2s ease;
}

.share-button:hover {
    background-color: #f3f4f6;
    transform: translateY(-1px);
}

/* 状态标签样式 */
.status-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

/* 表格行悬停效果 */
.referral-table tbody tr {
    transition: background-color 0.2s ease;
}

.referral-table tbody tr:hover {
    background-color: #f9fafb;
}

/* 提现按钮样式 */
.withdraw-button {
    transition: all 0.2s ease;
}

.withdraw-button:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.withdraw-button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* 模态框动画 */
.modal-enter {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
}

.modal-enter-active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: all 0.2s ease;
}

.modal-leave {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.modal-leave-active {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
    transition: all 0.2s ease;
}

/* 通知消息动画 */
.notification-enter {
    opacity: 0;
    transform: translateY(-20px);
}

.notification-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.notification-leave {
    opacity: 1;
    transform: translateY(0);
}

.notification-leave-active {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

/* 数据卡片样式 */
.stats-card {
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* 分页按钮样式 */
.pagination-button {
    transition: all 0.2s ease;
}

.pagination-button:hover:not(:disabled) {
    background-color: #f3f4f6;
}

.pagination-button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .referral-content {
        padding-top: 10rem !important;
    }
    
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .referral-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}