/* =========================================================
    cv-menu-nav-perf.css — Perfil,
    menú de navegación y panel de detalle del CV
   ========================================================= */


/*Mini cajita de photo de perfil*/
.profile-photo-box {
    width: calc(100% + 5%);
    min-height: 155px;

    display: flex;
    align-items: center;
    gap: 14px;

    padding: 16px 16px 16px 16px;

    background: #0d172a;
    border: 2px solid #475569;
    border-radius: 70px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255,255,255, 0.05);

    box-sizing: border-box;

    margin: 0 -12px 12px -12px;
    white-space: normal;
    overflow-wrap: break-word;
    font-size: clamp(0.85rem, 1vw, 1.1rem);
}

.profile-photo-box img
{
   width: 90px;
   height: 90px;

   flex-shrink: 0;
   object-fit: cover;

   border-radius: 50%;
   border: 3px solid #64748b;
   box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);

}

.cv-info-item{
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
}

.cv-info-item.contact-item{
   justify-content: flex-start;
   gap: 8px;
}


/*Menu Navegación del CV dentro cv-info-card*/
.cv-nav {
    margin-top: 20px;
}

.nav-section {
    margin-bottom: 22px;
}

.nav-section-title {
    font-size: 1rem;
    color: #f8fafc;
    border-bottom: 1px solid #475569;
    padding-bottom: 6px;
    margin-bottom: 10px;
}

.nav-group-label {
    font-size: 0.75rem;
    color: #75b3ff;
    font-weight: 650;
    margin: 10px 0 4px;
}

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

.nav-list-indent {
    margin-left: 0.5rem;
}

.nav-item {
    padding: 8px 10px;
    margin-bottom: 6px;
    border-radius: 6px;
    font-size: 0.85rem;
    line-height: 1.35;
    color: #cbd5e1;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #475569;
}

.nav-item.active {
    background-color: #1168d3;
    border-color: #1168d3;
    color: #ffffff;
    font-weight: 650;
}



/*Items no interactivos - Mismo formato sin clicks*/
.nav-item-static {
    padding: 8px 10px;
    margin-bottom: 6px;
    font-size: 0.85rem;
    line-height: 1.35;
    color: #cbd5e1;
}


/*Panel de detalle del CV dentro de main-text*/
.detail-content {
    margin-top: 10px;
}

.detail-empty {
    color: #64748b;
    font-style: italic;
}

.detail-title {
    font-size: 1.3em;
    color: #1e293b;
    margin-bottom: 12px;
}

.detail-field {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
}

.detail-label {
    font-weight: 650;
    color: #1168d3;
    flex-shrink: 0;
}

.detail-value {
    color: #1e293b;
    text-align: right;
}

.detail-description {
    margin-top: 14px;
    line-height: 1.7;
    color: #333;
}

.detail-link {
    color: #1168d3;
    font-weight: 650;
    text-decoration: none;
    text-align: right;
}

.detail-link:hover {
    text-decoration: underline;
}

/* --- Responsive (CV) --- */
@media (max-width: 768px) {

 .detail-field {
        flex-direction: column;
        gap: 2px;
    }

    .detail-value,
    .detail-link {
        text-align: left;
    }

}
