/* Stat Cards */
.stat-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 0.35rem 1.2rem rgba(15, 23, 42, 0.08);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.12);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-right: 1.2rem;
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: var(--secondary-color);
}

.stat-info p {
    margin: 0.3rem 0 0 0;
    color: #6c757d;
    font-size: 0.95rem;
}

/* Filters Bar */
.filters-bar {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 0.35rem 1.2rem rgba(15, 23, 42, 0.08);
}

/* Project Cards */
.project-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 0.35rem 1.2rem rgba(15, 23, 42, 0.08);
    transition: all 0.3s;
    border-left: 4px solid #e0e0e0;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.12);
}

.project-card.status-active {
    border-left-color: var(--primary-color);
}

.project-card.status-planned {
    border-left-color: var(--warning-color);
}

.project-card.status-completed {
    border-left-color: var(--success-color);
}

/* Project Header */
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background: var(--light-bg);
    border-bottom: 1px solid #e0e0e0;
}

.project-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: 'Courier New', monospace;
    margin-right: 0.8rem;
}

.project-actions {
    display: flex;
    gap: 0.5rem;
}

/* Project Body */
.project-body {
    padding: 1.5rem;
}

.project-body h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Project Client */
.project-client {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    background: #f0f9ff;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.project-client i {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.project-client strong {
    display: block;
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.project-client small {
    color: #6c757d;
    font-size: 0.85rem;
}

/* Project Location */
.project-location {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    background: #fff3e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.project-location i {
    color: var(--primary-color);
    margin-right: 0.8rem;
}

/* Project Details */
.project-details {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.detail-row span {
    color: #6c757d;
}

.detail-row strong {
    color: var(--secondary-color);
}

.detail-row i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Project Resources */
.project-resources {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.resource-item {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, var(--primary-color), #e67e00);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.resource-item i {
    margin-right: 0.5rem;
}

/* Project Completion */
.project-completion {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    background: #e8f5e9;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--success-color);
    font-weight: 600;
}

.project-completion i {
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

/* Pagination */
.pagination {
    margin-top: 2rem;
}

.page-link {
    color: var(--secondary-color);
    border-radius: 8px;
    margin: 0 0.2rem;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .project-card {
        margin-bottom: 1rem;
    }

    .stat-card {
        margin-bottom: 1rem;
    }

    .filters-bar .col-md-4,
    .filters-bar .col-md-2,
    .filters-bar .col-md-3 {
        margin-bottom: 0.5rem;
    }
}
