/* ============================================================
   Shared with instrumentView so the Feedback tab renders with the
   exact same tokens, card chrome and pill tabs.
   ============================================================ */
:root {
    --primary: #EE9310;
    --primary-dark: #d9830b;
    --ink: #1a1f2b;
    --muted: #6b7280;
    --surface: #ffffff;
    --surface-alt: #f7f8fa;
    --border: #e5e7eb;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px -12px rgba(16, 24, 40, .12);
}

.card-modern {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card-modern .card-body {
    padding: 22px;
}

.tab-nav-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border: none;
    margin-bottom: 20px;
}

.tab-nav-modern .nav-link {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--muted);
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 14px;
    transition: all .2s ease;
}

.tab-nav-modern .nav-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-nav-modern .nav-link.active {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
}

/* Bootstrap 3 also ships a ".fade{opacity:0}" rule, so if its stylesheet is ever
   loaded alongside Bootstrap 4 the active tab panel would be fully transparent.
   Bootstrap 4 only needs ".fade:not(.show)", so the active pane is always shown. */
#productTabContent .tab-pane.active {
    opacity: 1;
}

.tech-detail-section {
    padding: 46px 0 70px;
    background: #fdf8f1;
}

.tech-detail-card {
    background: #ffffff;
    border: 1px solid #f2e6d5;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(180, 120, 20, 0.08);
    overflow: hidden;
    margin-bottom: 26px;
}

.tech-detail-card__body {
    padding: 28px 30px;
}

.tech-profile-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.tech-profile-photo {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff0d8;
    box-shadow: 0 6px 18px rgba(217, 121, 0, 0.18);
    flex-shrink: 0;
}

.tech-profile-placeholder {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: #ffebca;
    color: #ee9310;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 46px;
    flex-shrink: 0;
}

.tech-profile-head__text {
    flex: 1 1 260px;
    min-width: 0;
}

.tech-profile-name {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 700;
    color: #2b1c05;
    word-break: break-word;
}

.tech-profile-meta {
    margin: 0;
    color: #7a6a55;
    font-size: 15px;
    line-height: 1.7;
}

.tech-profile-meta span {
    display: block;
}

.tech-profile-meta i {
    color: #ee9310;
    margin-right: 4px;
}

.tech-badge-row {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: #fff2dc;
    color: #a05c00;
    font-size: 12.5px;
    font-weight: 600;
}

.tech-badge--green {
    background: #fdf0dc;
    color: #b06a00;
}

.tech-detail-card__title {
    margin: 0 0 16px;
    font-size: 19px;
    font-weight: 700;
    color: #2b1c05;
    padding-bottom: 12px;
    border-bottom: 1px solid #f4e9da;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-detail-card__title i {
    color: #ee9310;
}

.tech-info-list {
    margin: 0;
    list-style: none;
    padding: 0;
}

.tech-info-list li {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px dashed #f4e9da;
    font-size: 15px;
    color: #5c5142;
}

.tech-info-list li:last-child {
    border-bottom: 0;
}

.tech-info-list__label {
    flex: 0 0 190px;
    color: #9c8b74;
    font-weight: 600;
}

.tech-info-list__value {
    flex: 1 1 200px;
    word-break: break-word;
}

.tech-info-list__value a {
    color: #d97900;
}

.tech-info-list__value a:hover {
    color: #b36500;
}

.tech-bio {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #5c5142;
    white-space: pre-line;
}

.tech-contact-locked {
    text-align: center;
    padding: 34px 20px;
    border: 1px dashed #e9cfa4;
    border-radius: 12px;
    background: #fff8ec;
}

.tech-contact-locked__icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #ffe9c8;
    color: #d97900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.tech-contact-locked__title {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
    color: #2b1c05;
}

.tech-contact-locked__text {
    margin: 0 0 18px;
    color: #8a7358;
    font-size: 14.5px;
}

.tech-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.tech-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tech-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.tech-btn--primary {
    background: #ee9310;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(238, 147, 16, 0.32);
}

.tech-btn--primary:hover {
    background: #d97900;
    color: #ffffff;
}

.tech-btn--ghost {
    background: #ffffff;
    color: #2b1c05;
    border: 1px solid #ecd9bb;
}

.tech-btn--ghost:hover {
    color: #d97900;
    border-color: #e0b877;
}

.tech-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    color: #d97900;
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
}

.tech-back-link:hover {
    color: #2b1c05;
    text-decoration: none;
}

@media (max-width: 767px) {
    .tech-detail-card__body {
        padding: 22px 18px;
    }

    .tech-profile-head {
        text-align: center;
        justify-content: center;
    }

    .tech-profile-photo,
    .tech-profile-placeholder {
        width: 108px;
        height: 108px;
    }

    .tech-info-list__label {
        flex: 0 0 100%;
    }

    .tech-detail-actions .tech-btn {
        width: 100%;
        justify-content: center;
    }
}
