/* 短链接管理系统自定义样式 */

/* 表格样式优化 */
table {
    font-size: 0.9rem;
}

/* 响应式表格 */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.8rem;
    }
    
    .btn-sm {
        padding: 0.2rem 0.4rem;
        font-size: 0.75rem;
    }
}

/* 卡片阴影 */
.card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* 加载动画 */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.loading::after {
    content: "";
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #0d6efd;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 淡入动画 */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 短链接复制按钮样式 */
.copy-btn {
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    color: #0d6efd;
}

.copy-btn.copied {
    color: #198754;
}

/* 统计图表容器 */
.chart-container {
    position: relative;
    height: 300px;
    margin: 1rem 0;
}

/* 批量导入表单样式 */
.batch-form {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #e9ecef;
}

/* 分页样式优化 */
.pagination {
    margin-top: 1rem;
}

/* 搜索框样式 */
.search-box {
    max-width: 300px;
    margin-bottom: 1rem;
}