/*=============================================
=            Pipeline details page            =
=============================================*/

.pipelinedetails-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 32px 40px;
}

@media (max-width: 768px) {
    .pipelinedetails-page {
        padding: 20px 16px 28px;
    }
}

.pipelinedetails-page-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.pipelinedetails-back-button {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--grey-light);
    background-color: var(--white-color);
    color: var(--text-color-medium);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.pipelinedetails-back-button:hover {
    background-color: var(--grey-lightest);
    color: var(--brand-primary);
    border-color: var(--text-color-light);
}

.pipelinedetails-page-header h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--brand-primary);
    line-height: 1.2;
}

.pipelinedetails-page-subtitle {
    margin: 4px 0 0;
    font-size: 0.88rem;
    color: var(--text-color-medium);
}

.pipelinedetails-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 56px;
    background-color: var(--white-color);
    border: 1px solid var(--grey-lightest);
    border-radius: 12px;
    box-shadow: 0 4px 16px var(--table-box-shadow-color);
    padding: 22px 26px;
    margin-bottom: 28px;
}

.pipelinedetails-summary:empty {
    display: none;
}

.pipelinedetails-summary-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.pipelinedetails-summary-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-color-light);
}

.pipelinedetails-summary-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--brand-primary);
    overflow-wrap: anywhere;
}

.pipelinedetails-section-title {
    margin: 0 0 14px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-primary);
}

.pipelinedetails-info-cell {
    color: var(--text-color-medium);
    font-size: 0.9em;
    overflow-wrap: anywhere;
}
