/* Expert Profile Modernization Styles */

:root {
    --oe-primary: #3498db;
    --oe-primary-dark: #2980b9;
    --oe-secondary: #6c757d;
    --oe-bg-light: #f8f9fa;
    --oe-border-color: rgba(0,0,0,.1);
    --oe-card-shadow: 0 4px 6px rgba(0,0,0,0.05);
    --oe-transition: all 0.2s ease-in-out;
}

.profile-container {
    padding: 2.5rem 0;
    background-color: #fdfdfd;
}

.profile-card {
    background: #fff;
    border: 1px solid var(--oe-border-color);
    border-radius: 1rem;
    box-shadow: var(--oe-card-shadow);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: var(--oe-transition);
}

.profile-card:hover {
    box-shadow: 0 8px 15px rgba(0,0,0,0.08);
}

.profile-card-header {
    background-color: var(--oe-bg-light);
    border-bottom: 1px solid var(--oe-border-color);
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    color: #444;
}

.profile-card-body {
    padding: 1.75rem;
}

.profile-sidebar-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    margin: 0 auto 1.5rem;
    display: block;
    transition: var(--oe-transition);
}

.profile-sidebar-img:hover {
    transform: scale(1.03);
}

.expert-name-header {
    font-family: var(--oe-font-family), sans-serif;
    font-size: 1.75rem;
    color: #2c3e50;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.expert-id-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
    background-color: #f1f3f5;
    border-radius: 2rem;
    color: #666;
    display: inline-block;
    margin-bottom: 1.25rem;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

.profile-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    border-bottom: 2px solid var(--oe-primary);
    padding-bottom: 0.6rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
}

.profile-section-title i {
    margin-right: 0.85rem;
    color: var(--oe-primary);
    width: 24px;
    text-align: center;
}

.profile-data-label {
    font-weight: 700;
    color: #8898aa;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-bottom: 0.35rem;
}

.profile-data-value {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
}

.profile-data-value a {
    color: var(--oe-primary);
    text-decoration: none;
    font-weight: 500;
}

.profile-data-value a:hover {
    text-decoration: underline;
}

.profile-nav-tabs {
    border: none;
    margin-bottom: 0;
    gap: 0.5rem;
}

.profile-nav-tabs .nav-link {
    border: none;
    color: #6c757d;
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    border-radius: 0.5rem;
    transition: var(--oe-transition);
}

.profile-nav-tabs .nav-link:hover {
    background-color: #edf2f7;
    color: var(--oe-primary);
}

.profile-nav-tabs .nav-link.active {
    background-color: var(--oe-primary);
    color: #fff !important;
    box-shadow: 0 4px 6px rgba(52, 152, 219, 0.25);
}

.profile-action-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.badge-oih {
    background-color: #e7f3ff;
    color: #007bff;
    border: 1px solid #cce5ff;
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    font-weight: 600;
}

.social-icons-row {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-icon-link {
    color: #adb5bd;
    transition: var(--oe-transition);
}

.social-icon-link:hover {
    color: var(--oe-primary);
    transform: translateY(-2px);
}

@media (max-width: 991.98px) {
    .profile-sidebar-img {
        width: 120px;
        height: 120px;
    }
    .expert-name-header {
        font-size: 1.5rem;
    }
}

@media print {
    .profile-action-buttons, .print-hide, .profile-nav-tabs {
        display: none !important;
    }
    .profile-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
