/**
 * SheResolves Profile Page Styles
 * Detailed profile view with tabbed interface
 * Copyright (C) 2025 SheResolves. All rights reserved.
 */

/* Profile Page Styles extend directory.css variables */

/* Breadcrumb */
.profile-breadcrumb {
    background-color: var(--sr-bg-light);
    padding: 1rem 0;
    border-bottom: 1px solid var(--sr-border-color);
}

.profile-breadcrumb .breadcrumb {
    margin-bottom: 0;
    background: none;
    padding: 0;
}

.profile-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--sr-text-muted);
}

.profile-breadcrumb .breadcrumb-item a {
    color: var(--sr-primary-color);
    text-decoration: none;
}

.profile-breadcrumb .breadcrumb-item a:hover {
    text-decoration: underline;
}

.profile-breadcrumb .breadcrumb-item.active {
    color: var(--sr-text-dark);
}

/* Profile Hero Section */
.profile-hero-section {
    padding: 2rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.profile-hero-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

/* Profile Photo */
.profile-photo-wrapper {
    margin-bottom: 1rem;
}

.profile-photo {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.profile-photo .profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #1d2655;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.profile-photo .featured-indicator {
    position: absolute;
    top: -5px;
    right: 10px;
    background: #fbbf24;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Profile Info */
.profile-info {
    padding-left: 1rem;
}

.profile-name {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1d2655;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.profile-name .featured-badge {
    background: #fbbf24;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-left: 1rem;
    vertical-align: middle;
}

.profile-summary {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Quick Facts */
.profile-quick-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.quick-fact {
    display: flex;
    align-items: center;
    color: #475569;
    font-size: 0.95rem;
}

.quick-fact i {
    color: #1d2655;
    margin-right: 0.5rem;
    width: 16px;
    font-size: 16px;
}

/* Action Buttons */
.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profile-actions .btn-block {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.profile-actions .btn-primary {
    background-color: #1d2655;
    border-color: #1d2655;
    color: white;
}

.profile-actions .btn-primary:hover {
    background-color: #ef4c28;
    border-color: #ef4c28;
    transform: translateY(-1px);
}

.profile-actions .btn-outline-secondary {
    border-color: #64748b;
    color: #64748b;
}

.profile-actions .btn-outline-secondary:hover {
    background-color: #64748b;
    border-color: #64748b;
    color: white;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 991px) {
    .profile-info {
        padding-left: 0;
        margin-top: 1rem;
        text-align: center;
    }
    
    .profile-quick-facts {
        justify-content: center;
    }
    
    .profile-actions {
        margin-top: 1.5rem;
    }
}

@media (max-width: 767px) {
    .profile-hero-card {
        padding: 1.5rem;
    }
    
    .profile-name {
        font-size: 1.875rem;
    }
    
    .profile-photo .profile-image {
        width: 120px;
        height: 120px;
    }
    
    .profile-photo {
        width: 120px;
        height: 120px;
    }
}

/* Profile Information Section */
.profile-information {
    padding: 2rem 0;
}

.profile-info-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.profile-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d2655;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f5f9;
}

/* Info List Styling */
.profile-info-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.info-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
    align-items: start;
}

.info-item:nth-child(odd) {
    background-color: #fafbfc;
    margin: 0 -2rem;
    padding: 1rem 2rem;
}

.info-item:nth-child(even) {
    background-color: white;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.info-value {
    color: #1f2937;
    line-height: 1.6;
    font-size: 0.95rem;
}

.info-link {
    color: #1d2655;
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-link:hover {
    color: #ef4c28;
    text-decoration: underline;
}

/* Badges */
.jurisdiction-badge,
.expertise-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    margin: 0.125rem 0.25rem 0.125rem 0;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.2;
}

.jurisdiction-badge {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.expertise-badge {
    background-color: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

/* CTA Section */
.profile-cta-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #1d2655 0%, #2a3b8f 100%);
    color: white;
}

.profile-cta-card {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-description {
    font-size: 1.125rem;
    color: #e2e8f0;
    margin-bottom: 0;
    line-height: 1.6;
}

.cta-button {
    margin: 0.5rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button.btn-primary {
    background-color: #ef4c28;
    border-color: #ef4c28;
    color: white;
}

.cta-button.btn-primary:hover {
    background-color: #dc2626;
    border-color: #dc2626;
    transform: translateY(-1px);
}

.cta-button.btn-outline-secondary {
    border-color: white;
    color: white;
    background-color: transparent;
}

.cta-button.btn-outline-secondary:hover {
    background-color: white;
    border-color: white;
    color: #1d2655;
    transform: translateY(-1px);
}

@media (max-width: 991px) {
    .cta-title {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .cta-description {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .profile-cta-section {
        padding: 2rem 0;
    }
}

/* Similar Profiles Section */
.similar-profiles-section {
    padding: 3rem 0;
    background-color: white;
    border-top: 1px solid #e2e8f0;
}

.similar-profiles-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1d2655;
    margin-bottom: 2rem;
    text-align: center;
}

.similar-profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.similar-profile-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
}

.similar-profile-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.similar-profile-photo {
    margin-bottom: 1rem;
}

.similar-profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
}

.similar-profile-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.similar-profile-name a {
    color: #1d2655;
    text-decoration: none;
    transition: color 0.2s ease;
}

.similar-profile-name a:hover {
    color: #ef4c28;
}

.similar-profile-summary {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.similar-profile-location {
    font-size: 0.85rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.similar-profile-location i {
    color: #1d2655;
}

.no-similar-profiles {
    text-align: center;
    color: #64748b;
    font-style: italic;
    grid-column: 1 / -1;
    padding: 2rem;
}

/* Responsive Design */
@media (max-width: 991px) {
    .info-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .info-label {
        font-weight: 700;
        color: #1d2655;
    }
    
    .profile-info-card {
        padding: 1.5rem;
    }
    
    .info-item:nth-child(odd) {
        margin: 0 -1.5rem;
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 767px) {
    .similar-profiles-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .similar-profile-card {
        padding: 1rem;
    }
    
    .similar-profile-image {
        width: 60px;
        height: 60px;
    }
}

/* Legacy Profile Header - Hide */
.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.1;
}

.profile-header-content {
    position: relative;
    z-index: 2;
}

.profile-basic-info {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.profile-photo-large {
    position: relative;
    flex-shrink: 0;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.featured-badge-large {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--sr-accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.profile-name-info {
    flex-grow: 1;
    min-width: 0;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-summary {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.5;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.meta-item i {
    color: var(--sr-accent-color);
    width: 1rem;
    text-align: center;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.expertise-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Profile Actions */
.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}

.profile-actions .btn {
    min-width: 200px;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.shortlist-btn.active {
    background-color: var(--sr-success-color);
    border-color: var(--sr-success-color);
    color: white;
}

/* Profile Content */
.profile-content {
    padding: 3rem 0;
    background: white;
}

.profile-tabs {
    border-bottom: 2px solid var(--sr-border-color);
    margin-bottom: 2rem;
}

.profile-tabs .nav-link {
    color: var(--sr-text-muted);
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--sr-transition);
    border-radius: 0;
    border-bottom: 3px solid transparent;
}

.profile-tabs .nav-link:hover {
    color: var(--sr-primary-color);
    background-color: var(--sr-bg-light);
    border-bottom-color: var(--sr-primary-color);
}

.profile-tabs .nav-link.active {
    color: var(--sr-primary-color);
    background-color: white;
    border-bottom-color: var(--sr-primary-color);
}

.profile-tab-content {
    min-height: 400px;
}

/* Tab Content Sections */
.tab-content-section {
    padding: 2rem 0;
}

.content-block {
    margin-bottom: 3rem;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--sr-text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--sr-bg-light);
}

.content-title i {
    color: var(--sr-primary-color);
    font-size: 1.25rem;
}

.content-text {
    line-height: 1.7;
    color: var(--sr-text-dark);
}

.content-text h1, .content-text h2, .content-text h3, 
.content-text h4, .content-text h5, .content-text h6 {
    color: var(--sr-text-dark);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.content-text p {
    margin-bottom: 1rem;
}

.content-text ul, .content-text ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.content-text li {
    margin-bottom: 0.5rem;
}

/* Expertise Grid */
.expertise-grid, .jurisdiction-grid, .languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.expertise-item, .jurisdiction-item, .language-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--sr-bg-light);
    border-radius: var(--sr-border-radius);
    border: 1px solid var(--sr-border-color);
    transition: var(--sr-transition);
}

.expertise-item:hover, .jurisdiction-item:hover, .language-item:hover {
    border-color: var(--sr-primary-color);
    transform: translateY(-2px);
    box-shadow: var(--sr-shadow-md);
}

.expertise-item i, .jurisdiction-item i, .language-item i {
    color: var(--sr-primary-color);
    font-size: 1.25rem;
}

/* Experience Overview */
.experience-overview {
    background: var(--sr-bg-light);
    padding: 2rem;
    border-radius: var(--sr-border-radius);
    text-align: center;
    border: 1px solid var(--sr-border-color);
}

.experience-highlight {
    margin-bottom: 1.5rem;
}

.experience-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--sr-primary-color);
    line-height: 1;
}

.experience-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--sr-text-dark);
    margin-top: 0.5rem;
}

.experience-description {
    color: var(--sr-text-muted);
    font-size: 1.125rem;
    margin: 0;
}

/* Specialization Grid */
.specialization-grid {
    display: grid;
    gap: 1.5rem;
}

.specialization-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--sr-border-radius);
    border: 1px solid var(--sr-border-color);
    box-shadow: var(--sr-shadow-sm);
    transition: var(--sr-transition);
}

.specialization-item:hover {
    box-shadow: var(--sr-shadow-md);
    transform: translateY(-2px);
}

.specialization-number {
    width: 3rem;
    height: 3rem;
    background: var(--sr-primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.specialization-content {
    flex-grow: 1;
}

.specialization-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--sr-text-dark);
    margin-bottom: 0.5rem;
}

.specialization-description {
    color: var(--sr-text-muted);
    margin: 0;
}

/* Achievement Stats */
.achievement-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--sr-border-radius);
    border: 1px solid var(--sr-border-color);
    box-shadow: var(--sr-shadow-sm);
    transition: var(--sr-transition);
}

.stat-item:hover {
    box-shadow: var(--sr-shadow-md);
    transform: translateY(-2px);
}

.stat-item.featured-stat {
    background: linear-gradient(135deg, var(--sr-accent-color), #f59e0b);
    color: white;
    border-color: var(--sr-accent-color);
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    background: var(--sr-primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.featured-stat .stat-icon {
    background: rgba(255, 255, 255, 0.2);
}

.stat-content {
    flex-grow: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sr-primary-color);
    line-height: 1;
}

.featured-stat .stat-number {
    color: white;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--sr-text-muted);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.featured-stat .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    gap: 1.5rem;
}

.profile-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--sr-border-radius);
    border: 1px solid var(--sr-border-color);
    box-shadow: var(--sr-shadow-sm);
    transition: var(--sr-transition);
}

.profile-contact .contact-item:hover {
    box-shadow: var(--sr-shadow-md);
    border-color: var(--sr-primary-color);
}

.profile-contact .contact-icon {
    width: 3rem;
    height: 3rem;
    background: var(--sr-primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-content {
    flex-grow: 1;
}

.contact-label {
    font-size: 0.875rem;
    color: var(--sr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1.125rem;
    color: var(--sr-text-dark);
}

.contact-link {
    color: var(--sr-primary-color);
    text-decoration: none;
    transition: var(--sr-transition);
}

.contact-link:hover {
    text-decoration: underline;
    color: #1d4ed8;
}

/* Location Info */
.location-info {
    background: var(--sr-bg-light);
    padding: 1.5rem;
    border-radius: var(--sr-border-radius);
    border: 1px solid var(--sr-border-color);
}

.location-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--sr-border-color);
}

.location-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.location-item strong {
    color: var(--sr-text-dark);
    font-weight: 600;
}

.location-item span {
    color: var(--sr-text-muted);
}

/* Contact Actions */
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-action-btn {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

/* Contact Disclaimer */
.contact-disclaimer .alert {
    border-left: 4px solid var(--sr-primary-color);
}

.contact-disclaimer .alert h4 {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Profile Sidebar */
.profile-sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-card {
    background: white;
    border-radius: var(--sr-border-radius);
    border: 1px solid var(--sr-border-color);
    box-shadow: var(--sr-shadow-sm);
    margin-bottom: 2rem;
    overflow: hidden;
}

.sidebar-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--sr-text-dark);
    margin: 0;
    padding: 1.5rem;
    background: var(--sr-bg-light);
    border-bottom: 1px solid var(--sr-border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-card-title i {
    color: var(--sr-primary-color);
}

.sidebar-card-content {
    padding: 1.5rem;
}

/* Quick Facts */
.quick-facts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--sr-border-color);
}

.fact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.fact-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--sr-text-muted);
    font-weight: 600;
}

.fact-label i {
    color: var(--sr-primary-color);
    width: 1rem;
    text-align: center;
}

.fact-value {
    font-size: 0.875rem;
    color: var(--sr-text-dark);
    font-weight: 600;
    text-align: right;
}

.fact-item.featured-fact .fact-value {
    color: var(--sr-accent-color);
}

.featured-text {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Languages List */
.languages-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.language-tag {
    background: var(--sr-bg-light);
    color: var(--sr-text-dark);
    padding: 0.375rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid var(--sr-border-color);
}

/* Jurisdictions List */
.jurisdictions-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.jurisdiction-item {
    padding: 0.75rem;
    background: var(--sr-bg-light);
    border-radius: var(--sr-border-radius);
    border: 1px solid var(--sr-border-color);
    font-size: 0.875rem;
    color: var(--sr-text-dark);
}

/* Document Links */
.document-item {
    margin-bottom: 0.75rem;
}

.document-item:last-child {
    margin-bottom: 0;
}

.document-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--sr-primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--sr-transition);
}

.document-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.document-link i {
    font-size: 1.125rem;
}

/* Related Profiles */
.related-profiles {
    background: var(--sr-bg-light);
    padding: 3rem 0;
    border-top: 1px solid var(--sr-border-color);
}

.related-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--sr-text-dark);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.related-title i {
    color: var(--sr-primary-color);
}

.related-profile-card {
    background: white;
    border-radius: var(--sr-border-radius);
    box-shadow: var(--sr-shadow-sm);
    overflow: hidden;
    transition: var(--sr-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-profile-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sr-shadow-lg);
}

.card-photo {
    position: relative;
    padding: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--sr-bg-light), white);
}

.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: var(--sr-shadow-md);
}

.card-photo .featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--sr-accent-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-content {
    padding: 1rem 1.5rem 1.5rem;
    flex-grow: 1;
}

.card-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card-name a {
    color: var(--sr-text-dark);
    text-decoration: none;
    transition: var(--sr-transition);
}

.card-name a:hover {
    color: var(--sr-primary-color);
}

.card-summary {
    font-size: 0.875rem;
    color: var(--sr-text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-location {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--sr-text-muted);
}

.card-location i {
    color: var(--sr-primary-color);
}

/* Responsive Design */
@media (max-width: 1199.98px) {
    .profile-name {
        font-size: 2rem;
    }
    
    .profile-summary {
        font-size: 1.125rem;
    }
}

@media (max-width: 991.98px) {
    .profile-basic-info {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .profile-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .profile-actions .btn {
        min-width: 150px;
        flex: 1;
    }
    
    .profile-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .profile-header {
        padding: 2rem 0;
    }
    
    .profile-name {
        font-size: 1.75rem;
    }
    
    .profile-summary {
        font-size: 1rem;
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
    }
    
    .profile-meta {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .profile-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .achievement-stats {
        grid-template-columns: 1fr;
    }
    
    .contact-actions {
        flex-direction: column;
    }
    
    .contact-action-btn {
        min-width: auto;
    }
    
    .experience-number {
        font-size: 3rem;
    }
    
    .specialization-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 575.98px) {
    .profile-content {
        padding: 2rem 0;
    }
    
    .content-title {
        font-size: 1.25rem;
    }
    
    .sidebar-card-title {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .sidebar-card-content {
        padding: 1rem;
    }
    
    .expertise-grid, .jurisdiction-grid, .languages-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        gap: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
}