/* 基础样式 */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.navbar-brand {
    font-weight: bold;
}

.nav-link {
    padding: .5rem 1rem;
}

/* 卡片样式 */
.card {
    transition: transform .2s;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

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

/* 页脚样式 */
.footer {
    margin-top: auto;
    background-color: #f8f9fa;
    padding: 1rem 0;
    box-shadow: 0 -2px 4px rgba(0,0,0,.1);
}

/* 按钮样式 */
.btn {
    border-radius: 4px;
    padding: .375rem 1rem;
}

/* 表单样式 */
.form-control {
    border-radius: 4px;
}

/* 模态框样式 */
.modal-content {
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,.1);
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    background-color: #f8f9fa;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* 警告框样式 */
.alert {
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* 图标样式 */
.fas {
    margin-right: .5rem;
}

/* 错误提示框样式 */
.swal2-popup {
    font-size: 0.9rem !important;
}

.swal2-container {
    z-index: 9999 !important;
}

/* Toast 提示框样式 */
.toast-container {
    z-index: 9999 !important;
}

.toast {
    background-color: rgba(255, 255, 255, 0.95) !important;
    color: #333 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

/* 响应式布局调整 */
@media (max-width: 768px) {
    .navbar-nav {
        padding: 0.5rem 0;
    }
    
    .dropdown-menu {
        border: none;
        background-color: transparent;
    }
    
    .card {
        margin-bottom: 1rem;
    }
}
