/*
|--------------------------------------------------------------------------
| TechPackHub Client Portal v2
| Project Details
|--------------------------------------------------------------------------
*/

/* Project Wrapper */
.tph-project{
    display:flex;
    flex-direction:column;
    gap:24px;
}

/* Header */
.tph-project-header{
    background:var(--tph-card);
    border:1px solid var(--tph-border);
    border-radius:18px;
    padding:36px;
    box-shadow:0 10px 30px rgba(15,45,82,.06);
}

.tph-project-title{
    margin:0;
    font-size:32px;
    font-weight:700;
    line-height:1.2;
    color:var(--tph-text);
}

.tph-project-service{
    margin:8px 0 14px;
    color:var(--tph-text-light);
    font-size:16px;
}

.tph-project-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:24px;
}

.tph-project-meta{
    display:flex;
    gap:16px;
    align-items:center;
    margin-top:12px;
    flex-wrap:wrap;
}

.tph-project-id{
    color:var(--tph-text-light);
    font-size:14px;
}

.tph-project-status .tph-badge{
    padding:8px 14px;
    border-radius:999px;
    font-size:13px;
    font-weight:600;
}

.tph-project-thumbnail{
    width:110px;
    height:110px;
    border-radius:18px;
    overflow:hidden;
    border:1px solid var(--tph-border);
    background:#fff;
    box-shadow:0 8px 20px rgba(15,45,82,.08);
}

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

.tph-project-progress{
    margin-top:28px;
}

.tph-progress{
    height:10px;
    border-radius:999px;
    overflow:hidden;
    background:#EEF3F8;
}

.tph-progress-bar{
    border-radius:999px;
    background:linear-gradient(90deg,#1DAAE8,#0F2D52);
}
/*==============================================================
Project Overview
==============================================================*/

.tph-info-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
}

.tph-info-card{
    background:#fff;
    border:1px solid var(--tph-border);
    border-radius:16px;
    padding:22px 24px;
    transition:all .25s ease;
}

.tph-info-card:hover{
    transform:translateY(-2px);
    border-color:var(--tph-primary);
    box-shadow:0 10px 30px rgba(15,45,82,.08);
}

.tph-info-header{
    display:flex;
    align-items:flex-start;
    gap:16px;
}

.tph-info-icon {
   width: 24px; min-width: 24px; font-size: 36px; line-height: 1; margin-top: 2px; padding-top: 10px; margin-right: 30px; color: var(--tph-primary);
}

.tph-info-text{
    flex:1;
    min-width:0;
}

.tph-info-label{
    display:block;
    margin:0 0 6px;
    font-size:14px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:var(--tph-text-light);
}
.tph-download-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.tph-download-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border:1px solid var(--tph-border);
    border-radius:12px;
    padding:16px 20px;
    background:#fff;
}

.tph-note-card{
    border-left:4px solid var(--tph-primary);
    padding:20px;
    background:#fff;
    border-radius:12px;
    border:1px solid var(--tph-border);
}

.tph-stepper{
    display:flex;
    justify-content:space-between;
    gap:12px;
    margin-top:16px;
}

.tph-step{
    flex:1;
    text-align:center;
}

.tph-step-circle{
    width:36px;
    height:36px;
    border-radius:50%;
    margin:0 auto 8px;
    background:#dbeafe;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
}

.tph-step.active .tph-step-circle{
    background:var(--tph-primary);
    color:#fff;
}

 Activity Feed
========================================================== */

.tph-activity-item{
    padding:18px 0;
    border-bottom:1px solid var(--tph-border);
}

.tph-activity-item:last-child{
    border-bottom:none;
    padding-bottom:0;
}

.tph-activity-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    margin-bottom:8px;
}

.tph-activity-title{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:16px;
    font-weight:600;
    color:var(--tph-heading);
}

.tph-activity-icon{
    font-size:18px;
    line-height:1;
}

.tph-activity-date{
    font-size:14px;
    color:var(--tph-text-light);
    white-space:nowrap;
}

.tph-activity-description{
    
    color:var(--tph-text-light);
    line-height:1.7;
}


@media (max-width:991px){

    .tph-info-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width:767px){

    .tph-project-top{
        flex-direction:column;
    }

    .tph-info-grid{
        grid-template-columns:1fr;
    }

    .tph-download-row{
        flex-direction:column;
        align-items:flex-start;
        gap:12px;
    }

    .tph-stepper{
        flex-direction:column;
    }

}