/* Portfolio.css - Dark Themed Portfolio Stylesheet */
.portfolio {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
}

.portfolio .body_block {
    color: #333;
    padding: 20px;
    line-height: 1.6;
    min-height: 100vh;
    background-image: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
}

.portfolio .container {
    background-color: #fef7f7;
    max-width: 1300px;
    margin: 0 auto;
    /* background: #1e1e1e; */
    border-radius: 12px;
    /* box-shadow: 0 10px 30px rgba(251, 233, 233, 0.5); */
    padding: 30px;
    border: 1px solid #fbe9e9;
}

.portfolio .header {
    background-image: url("../img/bg/donate-title-bg.jpg");
    /* background: linear-gradient(135deg, #D4527D, #8b0000); */
    color: white;
    padding: 50px 0;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 30px;
    /* box-shadow: 0 6px 20px rgba(211, 47, 47, 0.3); */
    /* position: relative; */
    /* overflow: hidden; */
}

/* .portfolio .header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100" opacity="0.1"><path d="M30,30 Q50,10 70,30 T90,50 T70,70 T50,90 T30,70 T10,50 T30,30 Z" fill="white"/></svg>');
    background-size: 80px;
} */

.portfolio .header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    /* text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); */
    color: #fff;
}
/* .portfolio .header p {
    color: #fff;
} */
/* .fa-dollar-bag {
    background-image: url("../img/bg/fa-dollar-bag.png");
    background-size: 100% auto;
    width: 34px;
    height: 48px;
    display: inline-block;
} */
        
.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
}

.portfolio .search-container {
    display: flex;
    justify-content: center;
    margin: 25px 0;
}

.portfolio .search-box {
    display: flex;
    width: 100%;
    max-width: 600px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); */
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #e0a0a0;
}

.portfolio .search-box:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
    border-color: #D4527D;
}

.portfolio .search-box input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    font-size: 16px;
    outline: none;
    /* background: #1e1e1e; */
    color: #333;
}

.portfolio .search-box input::placeholder {
    color: #888;
}

.portfolio .search-box button {
    background: #D4527D;
    color: white;
    border: none;
    padding: 0 30px;
    cursor: pointer;
    /* transition: background 0.3s; */
    font-weight: 400;
    font-size: 14px;
}

.portfolio .search-box button:hover {
    background: #D4527D;
}

/* .portfolio .header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #a50042;
}

.portfolio h1 {
    color: #ffffff;
    font-weight: 600;
    font-size: 32px;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(211, 47, 47, 0.3);
} */

.portfolio .filter-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    /* background: #fff; */
    border-radius: 8px;
}

.portfolio .filter-group {
    margin-bottom: 15px;
}

.portfolio .filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #666;
    font-size: 14px;
}

.portfolio .filter-group input, .filter-group select {
    width: 100%;
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #e0a0a0;
    border-radius: 6px;
    font-size: 14px;
    color: #666;
    transition: all 0.3s;
}

.portfolio .filter-group input:focus, .filter-group select:focus {
    border-color: #D4527D;
    box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.2);
    outline: none;
}

.portfolio .filter-group input::placeholder {
    color: #666;
}

.portfolio .amount-container, .time-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.portfolio .amount-container span, .time-container span {
    color: #888;
    white-space: nowrap;
}

.portfolio .summary {
    background: linear-gradient(135deg, #3a1c1c 0%, #2d1a1a 100%);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
    border-left: 4px solid #D4527D;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.portfolio .summary h2 {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 10px;
    font-weight: 500;
}

.portfolio .summary p {
    font-size: 24px;
    color: #D4527D;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(244, 67, 54, 0.3);
}

.portfolio .btn-filter {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #D4527D;
    /* background: linear-gradient(135deg, #a50042 0%, #b71c1c 100%); */
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
    margin-top: 30px;
}

.portfolio .btn-filter:hover {
    /* background: linear-gradient(135deg, #c62828 0%, #9c1c1c 100%); */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(211, 47, 47, 0.4);
}

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

.portfolio .table-container {
    overflow-x: auto;
    margin-bottom: 30px;
    border-radius: 8px;
    border: 1px solid #f0e0e0;
    width: 100%;
}

.portfolio table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.portfolio th {
    background: linear-gradient(135deg, #f0e0e0 0%, #f4d6d6 100%);
    color: #333;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #f0e0e0;
}

.portfolio td {
    padding: 12px;
    border-bottom: 1px solid #f0e0e0;
    color: #444;
}

.portfolio tr:hover {
    background: #fef7f7;
}

.portfolio .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
}

.portfolio .pagination button {
    padding: 8px 15px;
    background: #fff;
    color: #333;
    border: 1px solid #e0a0a0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.portfolio .pagination button:hover {
    background: #D4527D;
    color: white;
}

.portfolio .pagination button.active {
    background: #D4527D;
    color: white;
}

.portfolio .pagination button:disabled {
    background: #fff;
    color: #333;
    cursor: not-allowed;
}
.portfolio .pagination-info {
    color: #666;
    font-size: 14px;
    margin: 0 15px;
}
.portfolio .page-size-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.portfolio .page-size-selector select {
    background: #fff;
    color: #333;
    border: 1px solid #e0a0a0;
    border-radius: 4px;
    padding: 5px 10px;
}

.portfolio .stats {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* border: 1px solid #333; */
}

.portfolio .stat-item {
    text-align: center;
    /* flex: 1; */
    padding: 10px;
}

.portfolio .stat-value {
    font-size: 2.2rem;
    font-weight: bold;
    color: #D4527D;
    margin-bottom: 5px;
}

.portfolio .stat-label {
    color: #666;
    font-size: 15px;
}

@media (max-width: 768px) {
    .filter-section {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 15px;
    }
    
    .amount-container, .time-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .amount-container span, .time-container span {
        align-self: center;
    }
    
    th, td {
        padding: 8px 6px;
        font-size: 14px;
    }
    .news-container {
        grid-template-columns: 1fr;
    }
    
    /* h1 {
        font-size: 2rem;
    } */
}

/* * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', sans-serif;
        }
         */
        /* body {
            background-color: #000;
            color: #fff;
            line-height: 1.6;
            padding: 20px;
            background: linear-gradient(135deg, #000000 0%, #1a0000 100%);
        } */
        
        .project {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        /* header {
            text-align: center;
            margin-bottom: 30px;
            padding: 20px 0;
            border-bottom: 2px solid #a50042;
            position: relative;
        }
        
        header::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background: #a50042;
            box-shadow: 0 0 10px #ff0000;
        }
        
        h1 {
            font-size: 2.5rem;
            color: #a50042;
            text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
            margin-bottom: 10px;
            letter-spacing: 2px;
        } */
        
        /* .subtitle {
            color: #aaa;
            font-size: 1.1rem;
        } */
        
        /* .project .news-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
        }
        
        .project .news-card {
            background: #fef7f7;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(200, 0, 0, 0.2);
            transition: transform 0.3s, box-shadow 0.3s;
            border-left: 2px solid #e0a0a0;
            display: flex;
            flex-direction: column;
        }
        
        .project .news-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(200, 0, 0, 0.4);
        }
        
        .project .news-image {
            height: 200px;
            overflow: hidden;
            position: relative;
        }
        
        .project .news-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .project .news-card:hover .news-image img {
            transform: scale(1.05);
        }
        
        .project .news-content {
            padding: 20px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .project .news-title {
            font-size: 1.4rem;
            color: #d3517d;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #333;
            line-height: 1.4;
        }
        
        .project .news-meta {
            display: flex;
            justify-content: space-between;
            color: #999;
            font-size: 0.9rem;
            margin-bottom: 15px;
        }
        
        .project .news-description {
            margin-bottom: 15px;
            color: #ccc;
            flex-grow: 1;
        }
        
        .project .news-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 15px;
        }
        
        .project .tag {
            background: #d3517d;
            color: #fff;
            padding: 3px 10px;
            border-radius: 12px;
            font-size: 0.8rem;
        }
        
        .project .read-more {
            display: inline-block;
            color: #d3517d;
            text-decoration: none;
            font-weight: bold;
            padding: 8px 0;
            border-bottom: 1px solid transparent;
            transition: all 0.3s;
            text-align: right;
            align-self: flex-end;
        }
        
        .project .read-more:hover {
            border-color: #d3517d;
            text-shadow: 0 0 5px rgba(211, 81, 125, 0.5);
        }
        
        .project .pagination {
            display: flex;
            justify-content: center;
            margin-top: 40px;
        }
        
        .project .page-numbers {
            display: flex;
            list-style: none;
            gap: 10px;
        }
        
        .project .page-numbers li a {
            display: block;
            padding: 8px 15px;
            text-decoration: none;
            border-radius: 4px;
            transition: all 0.3s;
            border: 1px solid #e0a0a0;
            font-weight: 600;
        }
        
        .project .page-numbers li a:hover, 
        .project .page-numbers li a.active {
            border: 1px solid #e0a0a0;
            background: #d5527e;
            color: #fff;
        } */


