/* 患者姓名固定行数样式 */
.patient-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    font-size: 16px;
    max-height: 3em;
    /* 2行 * 1.5行高 */
}

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
header {
    background-color: #2ecc71;
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
}

/* 导航栏样式 */
nav {
    background-color: #fff;
    padding: 0.5rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: #666;
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

nav ul li a:hover,
nav ul li a.active {
    color: #2ecc71;
    border-bottom-color: #2ecc71;
}

/* 现代导航栏样式 */
nav.modern-nav {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 10px 10px;
    margin-bottom: 2rem;
}

nav.modern-nav ul {
    gap: 15px;
}

nav.modern-nav ul li {
    margin: 0;
}

nav.modern-nav ul li a {
    color: rgba(255, 255, 255, 0.9);
    padding: 12px 25px;
    border-radius: 25px;
    border-bottom: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

nav.modern-nav ul li a i {
    margin-right: 8px;
    font-size: 16px;
}

nav.modern-nav ul li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

nav.modern-nav ul li a.active {
    color: #667eea;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* 主要内容样式 */
main {
    padding: 2rem 0;
}

/* 筹款顾问卡片样式 */
.advisors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.advisor-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.advisor-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.advisor-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: -60px auto 20px;
    border: 5px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.advisor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advisor-card .advisor-info {
    padding: 20px;
}

.advisor-card h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.advisor-card .certification {
    display: inline-block;
    padding: 5px 15px;
    background-color: #2ecc71;
    color: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.advisor-stats {
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2ecc71;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
}

/* 筹款顾问详情页面 */
.advisor-detail {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

/* 统计数据容器样式 */
.stats-container {
    display: flex;
    justify-content: space-around;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 25px 20px;
    margin: 20px 0;
    border: 1px solid #f0f0f0;
}

.stats-container .stat-item {
    flex: 1;
    text-align: center;
    padding: 0 15px;
    position: relative;
}

/* 统计项之间的分隔线 */
.stats-container .stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background-color: #e0e0e0;
}

.stats-container .stat-value {
    font-size: 2.2rem;
    font-weight: bold;
    color: #00c853;
    margin-bottom: 8px;
    line-height: 1;
}

.stats-container .stat-label {
    font-size: 0.95rem;
    color: #666;
    font-weight: normal;
    line-height: 1.4;
}

/* 响应式设计 - 保持统计项并排显示 */
@media (max-width: 768px) {
    .stats-container {
        padding: 15px 10px;
        gap: 5px;
    }

    .stats-container .stat-item {
        padding: 0 8px;
    }

    .stats-container .stat-value {
        font-size: 1.4rem;
    }

    .stats-container .stat-label {
        font-size: 0.8rem;
    }
}

/* 小屏幕适配 */
@media (max-width: 480px) {
    .stats-container {
        padding: 10px 5px;
    }

    .stats-container .stat-item {
        padding: 0 5px;
    }

    .stats-container .stat-value {
        font-size: 1.2rem;
    }

    .stats-container .stat-label {
        font-size: 0.75rem;
    }
}

.advisor-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.advisor-header .advisor-avatar {
    margin: 0 30px 0 0;
    width: 150px;
    height: 150px;
}

.advisor-header-info {
    flex: 1;
}

.advisor-header-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.advisor-bio {
    margin-bottom: 30px;
    line-height: 1.8;
    color: #666;
}




/* 筹款项目网格布局 */
.fundraisings-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 1;
}

/* 筹款项目卡片 */
.fundraising-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: none;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.fundraising-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.fundraising-card-content {
    display: flex;
    align-items: center;
    width: 100%;
}

.fundraising-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid #f0f0f0;
}

.fundraising-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fundraising-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.fundraising-title {
    font-size: 16px;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fundraising-amount {
    font-size: 14px;
    font-weight: 600;
    color: #ff6b6b;
    margin-right: 12px;
    display: inline-block;
}

.fundraising-status {
    font-size: 13px;
    color: #666;
    margin-right: 12px;
    display: inline-block;
}

.fundraising-help-count {
    font-size: 14px;
    color: #666;
    display: inline-block;
}

.fundraising-stats {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 8px 0;
}

/* 主要按钮样式 */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

/* 空状态 */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-icon i {
    font-size: 40px;
    color: white;
}

.empty-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.empty-description {
    font-size: 14px;
    color: #64748b;
    max-width: 400px;
    margin: 0 auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .fundraisings-section {
        padding: 20px;
        margin: 20px 0;
    }

    .fundraisings-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fundraising-card-header {
        padding: 16px;
    }

    .fundraising-avatar {
        width: 70px;
        height: 70px;
    }

    .fundraising-card-body {
        padding: 20px;
    }

    .fundraising-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .fundraisings-section {
        padding: 15px;
        border-radius: 15px;
    }

    .fundraisings-section .section-title {
        font-size: 20px;
    }

    .empty-state {
        padding: 40px 15px;
    }

    .empty-icon {
        width: 60px;
        height: 60px;
    }

    .empty-icon i {
        font-size: 30px;
    }
}

.fundraising-item .fundraising-links a {
    color: #2ecc71;
    text-decoration: none;
    font-weight: 500;
}

.fundraising-item .fundraising-links a:hover {
    text-decoration: underline;
}

/* 登录页面样式 */
.login-container {
    max-width: 400px;
    margin: 5rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.login-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

/* 表单样式 */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2ecc71;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1rem;
}

.btn:hover {
    background-color: #27ae60;
}

.btn-danger {
    background-color: #e74c3c;
}

.btn-danger:hover {
    background-color: #c0392b;
}

.red-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #e74c3c;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    font-size: 1rem;
    font-weight: bold;
}

.red-button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.red-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: #95a5a6;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

/* 表格样式 */
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.table th,
.table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.table th {
    background-color: #2ecc71;
    color: #fff;
    font-weight: bold;
}

.table tr:hover {
    background-color: #f5f5f5;
}

.table tr:last-child td {
    border-bottom: none;
}

/* 头像上传样式 */
.avatar-upload {
    margin-bottom: 20px;
}

.avatar-upload .preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 10px;
    border: 2px solid #ddd;
}

.avatar-upload .preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 后台管理面板 */
.admin-panel {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    overflow-x: auto;
}

/* 为表格容器添加溢出控制 */
.admin-panel .table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

.admin-panel .table-container .table {
    margin: 0;
    min-width: 100%;
}

.admin-panel h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 3rem;
}

/* 状态选择器样式 */
.status-checkbox {
    display: flex;
    align-items: center;
}

.status-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.5rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 5px 0;
    }

    .advisors-grid {
        grid-template-columns: 1fr;
    }

    .advisor-header {
        flex-direction: column;
        text-align: center;
    }

    .advisor-header .advisor-avatar {
        margin: 0 0 20px 0;
    }

    .fundraising-item .fundraising-links {
        flex-direction: column;
        gap: 10px;
    }

    .table {
        font-size: 0.9rem;
        overflow-x: auto;
        display: block;
    }

    .table th,
    .table td {
        padding: 8px 10px;
        white-space: nowrap;
        min-width: 80px;
    }

    /* 设置特定列的最小宽度 */
    .table th:nth-child(1),
    .table td:nth-child(1) {
        min-width: 120px;
    }

    .table th:nth-child(2),
    .table td:nth-child(2) {
        min-width: 100px;
    }

    .table th:nth-child(3),
    .table td:nth-child(3) {
        min-width: 80px;
    }

    .table th:nth-child(4),
    .table td:nth-child(4) {
        min-width: 120px;
    }

    .table th:nth-child(5),
    .table td:nth-child(5) {
        min-width: 100px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    /* 表单响应式样式 */
    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 1rem;
    }

    /* 状态选择器响应式样式 */
    .status-checkbox input[type="checkbox"] {
        width: 24px;
        height: 24px;
    }

    .status-checkbox label {
        font-size: 1rem;
        margin-left: 10px;
    }

    /* 头像上传响应式样式 */
    .avatar-upload .preview {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    main {
        padding: 1rem 0;
    }

    .login-container {
        margin: 2rem auto;
        padding: 1.5rem;
    }

    .advisor-detail,
    .fundraisings-section {
        padding: 15px;
    }

    /* 筹款项目列表响应式调整 */
    .fundraising-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 0;
    }

    .fundraising-avatar {
        width: 50px;
        height: 50px;
    }

    .fundraising-meta {
        gap: 10px;
    }

    .fundraising-actions {
        justify-content: flex-start;
        margin-top: 5px;
    }

    .view-details-btn {
        padding: 6px 14px;
        font-size: 12px;
    }

    /* 个人管理界面响应式 */
    .management-grid {
        grid-template-columns: 1fr;
    }

    .project-status {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .project-actions {
        width: 100%;
        flex-direction: column;
    }

    .btn-sm {
        width: 100%;
    }
}

/* 轻松筹风格移动端样式 */
.easyfund-header {
    background-color: #00c853;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.easyfund-logo {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.easyfund-logo img {
    width: 24px;
    height: 24px;
    margin-right: 5px;
}

.menu-btn {
    font-size: 24px;
    cursor: pointer;
}

.advisor-profile {
    background-color: #00c853;
    color: white;
    padding: 80px 20px 30px;
    text-align: center;
}

.advisor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.advisor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advisor-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.certification-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    margin: 0 5px 10px;
}

.advisor-level {
    font-size: 14px;
    margin-bottom: 20px;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    opacity: 0.9;
}

.nav-tabs {
    display: flex;
    background-color: white;
    border-bottom: 1px solid #eee;
}

.nav-tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    cursor: pointer;
    color: #666;
    border-bottom: 2px solid transparent;
}

.nav-tab.active {
    color: #00c853;
    border-bottom-color: #00c853;
    font-weight: 500;
}

.contact-info {
    background-color: white;
    padding: 20px 25px;
    margin: 15px 0;
    display: flex;
    justify-content: space-around;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.contact-info:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.contact-item {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #333;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background-color: #f8f9fa;
    transform: translateY(-1px);
}

.contact-item i {
    font-size: 24px;
    margin-right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item.phone i {
    color: #00c853;
}

.contact-item.wechat i {
    color: #07c160;
}

.contact-text {
    font-weight: 500;
    line-height: 1.4;
}

.projects-section {
    background-color: white;
    padding: 20px;
    margin: 10px 0;
}

.section-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.project-card {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.project-card:last-child {
    border-bottom: none;
}

.project-avatar {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 15px;
}

.project-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info {
    flex: 1;
}

.project-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    line-height: 1.4;
}

.project-desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-stats {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}

.contact-advisor-btn {
    background-color: #00c853;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0;
    cursor: pointer;
}

/* 个人管理界面样式 */
.personal-management-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.personal-management-section h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.personal-management-section p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0;
}

.management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.management-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.management-card .card-header {
    background-color: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.management-card .card-header h3 {
    color: #333;
    margin: 0;
    font-size: 1.4rem;
}

.management-card .card-body {
    padding: 25px;
}

.projects-list {
    margin-top: 20px;
}

.project-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

.project-item:last-child {
    border-bottom: none;
}

.project-item h5 {
    color: #333;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.project-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.project-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-badge.active {
    background-color: #d4edda;
    color: #155724;
}

.status-badge.completed {
    background-color: #cce5ff;
    color: #004085;
}

.status-badge.failed {
    background-color: #f8d7da;
    color: #721c24;
}

.project-actions {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 5px 12px;
    font-size: 0.85rem;
    min-width: auto;
}

.no-projects {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-section,
.stat-card,
.action-card,
.table-container,
.card,
.management-card {
    animation: fadeIn 0.5s ease forwards;
}

.stat-card:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-card:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.3s;
}

.action-card:nth-child(1) {
    animation-delay: 0.4s;
}

.action-card:nth-child(2) {
    animation-delay: 0.5s;
}

.action-card:nth-child(3) {
    animation-delay: 0.6s;
}