/* 自定义样式 */

/* 应用卡片样式 */
.app-card {
    transition: transform 0.2s;
    margin-bottom: 1rem;
}

.app-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 应用图标样式 */
.app-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

/* 搜索框样式 */
#searchForm {
    max-width: 600px;
    margin: 0 auto;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .app-card {
        margin-bottom: 0.5rem;
    }
    
    .app-icon {
        width: 50px;
        height: 50px;
    }
}

/* 全局样式 */
body {
    min-height: 100vh;
    transition: background-color 0.3s ease;
}

/* 深色模式样式 */
[data-bs-theme="dark"] {
    --bs-body-bg: #212529;
    --bs-body-color: #f8f9fa;
}

[data-bs-theme="dark"] .table {
    --bs-table-bg: #2c3034;
    --bs-table-striped-bg: #343a40;
    --bs-table-hover-bg: #373b3e;
    --bs-table-border-color: #495057;
    color: #f8f9fa;
}

[data-bs-theme="dark"] .modal-content {
    background-color: #2c3034;
    border-color: #495057;
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
    background-color: #343a40;
    border-color: #495057;
    color: #f8f9fa;
}

[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
    background-color: #343a40;
    border-color: #6c757d;
    color: #f8f9fa;
}

/* 表格样式 */
.table-responsive {
    margin-bottom: 1rem;
}

.table th {
    white-space: nowrap;
}

/* 分页样式 */
.pagination {
    margin-bottom: 0;
}

/* 按钮组样式 */
.btn-group {
    gap: 0.25rem;
}

/* 复选框样式 */
.form-check-input {
    cursor: pointer;
}

/* 动画效果 */
.fade {
    transition: opacity 0.15s linear;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .table th,
    .table td {
        white-space: normal;
    }
    
    .btn-group {
        display: flex;
        flex-direction: column;
    }
} 