/* 登录页样式 */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
}

/* 导航栏样式 */
.navbar {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #667eea !important;
}

.nav-link {
    color: #555 !important;
    font-weight: 500;
    padding: 8px 15px !important;
    transition: color 0.3s;
    border-radius: 8px;
    margin: 0 2px;
}

    .nav-link:hover {
        color: #667eea !important;
        background-color: #f8f9fa;
    }

    .nav-link.active {
        color: #667eea !important;
        font-weight: 600;
        background-color: rgba(102, 126, 234, 0.1);
    }

/* 卡片样式 */
.card {
    background: white;
    border-radius: 12px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    }

.card-body {
    padding: 25px;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-value {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
}

.card-icon {
    font-size: 40px;
    color: #667eea;
    opacity: 0.8;
    float: right;
}

/* 表格样式 */
.table-container {
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

    .table th {
        background: linear-gradient(to right, #667eea, #764ba2);
        color: white;
        padding: 15px;
        text-align: left;
        font-weight: 600;
        border: none;
    }

    .table td {
        padding: 15px;
        border-bottom: 1px solid #e0e0e0;
        vertical-align: middle;
    }

    .table tr:last-child td {
        border-bottom: none;
    }

    .table tr:hover {
        background-color: #f8f9fa;
    }

/* 按钮样式 */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: linear-gradient(to right, #667eea, #764ba2);
    color: white;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    }

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-success {
    background: linear-gradient(to right, #28a745, #20c997);
    color: white;
}

.btn-danger {
    background: linear-gradient(to right, #dc3545, #ff6b6b);
    color: white;
}

.btn-group .btn {
    padding: 5px 15px;
    margin: 0 2px;
}

/* 表单样式 */
.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 10px 15px;
    transition: border-color 0.3s;
}

    .form-control:focus, .form-select:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
    }

/* 状态标签 */
.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-draft {
    background: #ffd700;
    color: #333;
}

.status-active {
    background: #28a745;
    color: white;
}

.status-completed {
    background: #6c757d;
    color: white;
}

.status-terminated {
    background: #dc3545;
    color: white;
}

/* 欢迎区域 */
.welcome-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

/* 活动列表 */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s;
}

    .activity-item:hover {
        background-color: #f8f9fa;
    }

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.activity-content {
    flex: 1;
}

.activity-text {
    display: block;
    font-weight: 500;
    color: #333;
}

.activity-time {
    font-size: 12px;
    color: #666;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .dashboard-cards {
        grid-template-columns: 1fr;
    }

    .table-container {
        padding: 10px;
        overflow-x: auto;
    }

    .table {
        font-size: 14px;
    }

    .btn-group {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

        .btn-group .btn {
            width: 100%;
            margin: 2px 0;
        }

    .login-box {
        margin: 20px;
        padding: 30px 20px;
    }



    
