/* ========================================
   COMPONENT: CONTENT CARD
   Extracted from styles.css
   ======================================== */

/* ========================================
   Page Content
   ======================================== */
.page-content {
    background-color: var(--color-gray-50);
    flex: 1;
}

/* ========================================
   Page Title & Subtitle
   ======================================== */
.page-title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-gray-800);
    letter-spacing: -0.03em;
}

.page-subtitle {
    font-size: var(--font-size-sm);
    /* gray-700: gray-600 on the gray-50 page background is only 4.45:1 */
    color: var(--color-gray-700);
}

/* Page header: title block + actions. Wraps instead of clipping on phones. */
.page-header > :last-child:not(:first-child) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
}

.page-header .btn {
    white-space: nowrap;
}

/* ========================================
   Content Card
   ======================================== */
.content-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.content-card__header {
    padding: var(--space-4) var(--space-6);
    background: var(--color-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

/* Title + actions headers wrap instead of clipping actions (narrow cards,
   enlarged text). */
.content-card__header.d-flex {
    flex-wrap: wrap;
    gap: var(--space-2);
}

.content-card__title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-gray-800);
    display: flex;
    align-items: center;
    margin: 0;
}

.content-card__title i {
    color: inherit;
}

.content-card__footer {
    padding: var(--space-4) var(--space-6);
    background: rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.content-card__show-more {
    padding: var(--space-2) var(--space-4);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(0, 0, 0, 0.02);
}

/* ========================================
   Modal Header — primary brand color variant
   ======================================== */
.modal-header-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ========================================
   Icon Box — used in detail page contact/info sections
   ======================================== */
.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-gray-100);
    border-radius: var(--radius-base);
    color: var(--color-gray-700);
    flex-shrink: 0;
}

/* ========================================
   Timeline Component — used in case activity feed
   ======================================== */
.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 6px;
    width: 2px;
    background-color: var(--color-gray-200);
}

.timeline-dot {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 6px;
    outline: 4px solid var(--color-white);
    border-radius: var(--radius-full);
}
