/* .card .card-header-hrd {
    border-bottom-color: #f9f9f9;
    line-height: 30px;
    align-self: center;
    width: 100%;
    min-height: 70px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
}

.card .card-body-hrd {
    padding-top: 20px;
    padding-bottom: 20px;
} */

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.project-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e5e9;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.project-header-hrd {
    background: #D51C48;
    padding: 1.5rem;
    border-bottom: 1px solid #e1e5e9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-title-hrd {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

.deadline-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.deadline-label {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

.project-content {
    padding: 1.5rem;
}

.project-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-label {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
    line-height: 1.4;
    min-width: 200px;
    flex-shrink: 0;
    padding-top: 0.5rem;
}

.input-field {
    flex: 1;
}

.input-field input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.95rem;
    color: #4a5568;
    background-color: #ffffff;
    transition: border-color 0.2s ease;
}

.input-field input:focus {
    outline: none;
    border-color: #D51C48;
    box-shadow: 0 0 0 2px rgba(213, 28, 72, 0.1);
}

.progress-card {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    flex: 1;
    width: 100%;
    transition: all 0.3s ease;
}

.progress-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.progress-section {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-text {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.progress-percent {
    font-weight: 700;
    color: #D51C48;
    font-size: 0.9rem;
    white-space: nowrap;
}

.progress-complete {
    color: #718096;
    font-size: 0.8rem;
    font-weight: 500;
    font-style: italic;
    white-space: nowrap;
}

.progress-bar-hrd {
    width: 100%;
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #D51C48;
    border-radius: 4px;
    transition: width 0.3s ease;
    transform-origin: left;
    animation: progressAnimation 0.8s ease-out;
}

.project-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

.btn-filter {
    background-color: #d51c48 !important;
    border-color: #d51c48 !important;
    border-radius: 8px;
    color: #ffffff !important;
    font-size: 15px !important;
}

.btn-filter:hover {
    background-color: #ff557d !important;
    border-color: #ff557d !important;
    color: #ffffff !important;
}
.project-card + .project-card {
    margin-top: 0;
}

@keyframes progressAnimation {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

@media (max-width: 768px) {
    .project-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-header-hrd {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .deadline-section {
        align-items: flex-start;
    }

    .info-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .info-label {
        min-width: auto;
        padding-top: 0;
    }

    .project-content {
        padding: 1rem;
    }

    .project-title-hrd {
        font-size: 1.1rem;
    }

    .info-label,
    .input-field input {
        font-size: 0.9rem;
    }

    .progress-text,
    .progress-percent {
        font-size: 0.9rem;
    }

    .progress-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

@media (max-width: 480px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

    .detail-btn {
        width: 100%;
        justify-content: center;
    }

    .project-header-hrd {
        padding: 0.75rem;
    }

    .project-content {
        padding: 0.75rem;
    }

    .progress-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

.card-body {
    padding: 1.5rem;
}

.card-header h4 {
    margin: 0;
    color: #2d3748;
    font-weight: 700;
}

.project-header {
    background: #ffffff !important;
}
