/* TruPeople Employee Profile — page-specific styles */

.tp-profile-overview-visual-frame {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.tp-profile-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 300px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 50px rgba(4, 30, 34, 0.35);
    padding: 1.5rem 1.35rem;
    backdrop-filter: blur(4px);
}

.tp-profile-card-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tp-profile-card-avatar {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(168, 240, 223, 0.35), rgba(168, 240, 223, 0.12));
    border: 2px solid rgba(168, 240, 223, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
}

.tp-profile-card-meta strong {
    display: block;
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.25;
}

.tp-profile-card-meta span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 0.2rem;
}

.tp-profile-card-stats {
    display: grid;
    gap: 0.65rem;
}

.tp-profile-card-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.8rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tp-profile-card-stat-label {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.74rem;
    font-weight: 600;
}

.tp-profile-card-stat-value {
    color: #a8f0df;
    font-size: 0.78rem;
    font-weight: 700;
}

/* Workflow — split header + card panel */
.tp-profile-workflow-section {
    position: relative;
    padding: 4.5rem 0 5rem;
    background-color: #eef8f9;
    overflow: hidden;
}

.tp-profile-workflow-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 52%;
    min-height: 300px;
    background: linear-gradient(135deg, #062f35 0%, #083e45 42%, #0b5560 100%);
    pointer-events: none;
}

.tp-profile-workflow-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 52%;
    min-height: 300px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.35;
    pointer-events: none;
}

.tp-profile-workflow-section .container {
    position: relative;
    z-index: 1;
}

.tp-profile-workflow-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.tp-profile-workflow-tag {
    display: inline-block;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(168, 240, 223, 0.35);
    color: #a8f0df;
}

.tp-profile-workflow-title {
    color: #ffffff;
    font-size: clamp(1.65rem, 2.5vw, 2.15rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.tp-profile-workflow-panel {
    max-width: 960px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(8, 62, 69, 0.12);
    box-shadow: 0 24px 60px rgba(8, 62, 69, 0.14);
}

.tp-profile-workflow-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tp-profile-workflow-item {
    position: relative;
    padding: 2rem 2.25rem;
    border-right: 1px solid rgba(8, 62, 69, 0.08);
    border-bottom: 1px solid rgba(8, 62, 69, 0.08);
    transition: background-color 0.25s ease;
}

.tp-profile-workflow-item:hover {
    background: rgba(168, 240, 223, 0.1);
}

.tp-profile-workflow-item:nth-child(2n) {
    border-right: none;
}

.tp-profile-workflow-item:nth-child(n+3) {
    border-bottom: none;
}

.tp-profile-workflow-step {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    color: rgba(8, 62, 69, 0.18);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.tp-profile-workflow-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(8, 62, 69, 0.08);
    color: var(--tp-base-color);
    margin-bottom: 1.1rem;
}

.tp-profile-workflow-icon .tp-outline-svg {
    width: 1.5rem;
    height: 1.5rem;
}

.tp-profile-workflow-item-title {
    color: #083e45;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
    margin: 0;
    max-width: 16rem;
}

.tp-profile-workflow-footnote {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.15rem 1.5rem;
    background: linear-gradient(135deg, rgba(168, 240, 223, 0.22) 0%, rgba(168, 240, 223, 0.08) 100%);
    border-top: 1px solid rgba(8, 62, 69, 0.1);
}

.tp-profile-workflow-footnote-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(8, 62, 69, 0.08);
    color: var(--tp-base-color);
}

.tp-profile-workflow-footnote-icon svg {
    width: 1.1rem;
    height: 1.1rem;
}

.tp-profile-workflow-footnote p {
    margin: 0;
    padding-top: 0.35rem;
    color: #3d5a5f;
    font-weight: 600;
    line-height: 1.55;
    font-size: 0.98rem;
}

@media (max-width: 991px) {
    .tp-profile-overview-visual-frame {
        min-height: 280px;
    }

    .tp-profile-workflow-grid {
        grid-template-columns: 1fr;
    }

    .tp-profile-workflow-item {
        border-right: none;
        border-bottom: 1px solid rgba(8, 62, 69, 0.08);
    }

    .tp-profile-workflow-item:last-child {
        border-bottom: none;
    }

    .tp-profile-workflow-item:nth-child(n+3) {
        border-bottom: 1px solid rgba(8, 62, 69, 0.08);
    }
}

@media (max-width: 575px) {
    .tp-profile-workflow-item {
        padding: 1.5rem 1.35rem;
    }

    .tp-profile-workflow-step {
        font-size: 1.5rem;
        top: 1rem;
        right: 1rem;
    }
}
