/* ========================================
   Project Overview Section
   ======================================== */

.uitkm-project-overview {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

/* Title */
.uitkm-po__title {
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px 0;
    font-size: 1.5rem;
    line-height: 1.875rem;
    letter-spacing: -.54px;
}

/* Content Wrapper */
.uitkm-po__content-wrapper {
    width: 100%;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 8px;
}

/* Details Card */
.uitkm-po__details-card {
    background: #ffffff;
    margin-bottom: 32px;
}

.uitkm-po__details-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

/* Details Grid */
.uitkm-po__details-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.uitkm-po__details-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: start;

}

.uitkm-po__details-row:last-child {
    border-bottom: none;
}

.uitkm-po__details-col {
    display: flex;
    flex-direction: column;
}

.uitkm-po__details-col--left {
    text-align: left;
}

.uitkm-po__details-col--right {
    text-align: right;
}




/* Detail Item */
.uitkm-po__detail-item {
    display: flex;
    flex-direction: row;
    gap: 4px;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.uitkm-po__detail-item--empty {
    min-height: 1px;
}

.uitkm-po__detail-label {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

.uitkm-po__detail-value {
    font-size: 14px;
    color: #334155;
    line-height: 1.5;
    text-align: right;
    font-weight: 600;
}

/* Highlights Section */
.uitkm-po__highlights {
    margin-top: 32px;
}

.uitkm-po__highlights-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.uitkm-po__highlights-wrapper {
    position: relative;
}

/* Fade-out gradient effect - at the end of highlights list */
.uitkm-po__highlights-wrapper:not(.expanded):not([data-expanded="true"]) .uitkm-po__highlights-list::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1;
}

.uitkm-po__highlights-wrapper.expanded .uitkm-po__highlights-list::after,
.uitkm-po__highlights-wrapper[data-expanded="true"] .uitkm-po__highlights-list::after {
    opacity: 0;
    visibility: hidden;
}

.uitkm-po__highlights-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.uitkm-po__highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 0;
    font-size: 14px;
}

.uitkm-po__highlight-item.is-active {
    color: #5a6b7a;
}

.uitkm-po__highlight-item.is-inactive {
    color: #c0c9d2;
}

.uitkm-po__highlight-item span {
    flex: 1;
}

.uitkm-po__highlight-item span strong {
    font-weight: 700;
}

.uitkm-po__highlight-item.uitkm-highlight-hidden {
    display: none;
}

/* Icon */
.uitkm-po__highlight-icon {
    flex-shrink: 0;
    margin-top: 2px;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* Expand Toggle Button */
.uitkm-po__expand-toggle {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #182a73;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    text-transform: math-auto;
    letter-spacing: 0;
    margin-top: 0;
    padding-top: 12px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: color 0.2s ease;
    position: relative;
    z-index: 2;
    margin: 0;
}

.uitkm-po__expand-toggle:hover {
    color: #182a73;
}

.uitkm-po__expand-icon {
    font-size: 16px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.uitkm-po__highlights-wrapper.expanded .uitkm-po__expand-icon,
.uitkm-po__highlights-wrapper[data-expanded="true"] .uitkm-po__expand-icon {
    transform: rotate(180deg);
}
span.uitkm-po__expand-text {
    text-decoration: underline;
    text-underline-offset: 4px;
}
/* Responsive */
@media (max-width: 768px) {
    .uitkm-po__title {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }
    
    .uitkm-po__details-card {
        margin-bottom: 24px;
    }
    
    .uitkm-po__details-title,
    .uitkm-po__highlights-title {
        font-size: 1.125rem;
        margin-bottom: 16px;
    }
    
    .uitkm-po__details-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px 0;
    }
    
    .uitkm-po__details-divider {
        display: none;
    }
    
    .uitkm-po__details-col--right {
        text-align: left;
    }
    
    .uitkm-po__detail-value {
        text-align: left;
    }
    
    .uitkm-po__highlights {
        margin-top: 24px;
    }
}

