
/**

 * NeuraRealty Agent Profile Styles

 * Extracted from inline - Phase 1 Refactor

 * neurarealty.nw/agent/{slug}

 */



/* Hero Section */

.ap-hero {

    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #0D9488 100%);

    padding: 60px 0 120px;

    position: relative;

    overflow: hidden;

}

.ap-hero::before {

    content: '';

    position: absolute;

    top: 0; left: 0; right: 0; bottom: 0;

    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");

    opacity: 0.5;

}

.ap-hero-content {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 24px;

    position: relative;

    z-index: 1;

}



/* Breadcrumb */

.ap-breadcrumb {

    margin-bottom: 24px;

}

.ap-breadcrumb a {

    color: rgba(255,255,255,0.7);

    text-decoration: none;

    font-size: 14px;

}

.ap-breadcrumb a:hover { color: white; }

.ap-breadcrumb span { color: rgba(255,255,255,0.5); margin: 0 8px; }



/* Profile Card */

.ap-profile-card {

    display: flex;

    gap: 32px;

    align-items: flex-start;

}

.ap-photo {

    width: 200px;

    height: 260px;

    border-radius: 8px;

    overflow: hidden;

    border: 6px solid #C9A246;

    box-shadow: 0 8px 24px rgba(0,0,0,0.3), inset 0 0 0 1px rgba(255,255,255,0.2);

    flex-shrink: 0;

    background: #C9A246;

}

.ap-photo img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: top center;

}

.ap-photo-initials {

    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 64px;

    font-weight: 700;

    color: #0D9488;

    background: linear-gradient(135deg, #E6FFFA, #B2F5EA);

}

.ap-info { flex: 1; color: white; }

.ap-name {

    font-family: 'Instrument Sans', sans-serif;

    font-size: 42px;

    font-weight: 700;

    margin-bottom: 8px;

    line-height: 1.1;

}

.ap-title {

    font-size: 18px;

    color: #14B8A6;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 16px;

}

.ap-verified {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: rgba(20, 184, 166, 0.2);

    border: 1px solid rgba(20, 184, 166, 0.4);

    padding: 8px 16px;

    border-radius: 100px;

    font-size: 14px;

    font-weight: 600;

    color: #5EEAD4;

    margin-bottom: 20px;

}

.ap-verified img { filter: brightness(0) invert(1); }



/* Meta Items */

.ap-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 24px;

    margin-bottom: 24px;

}

.ap-meta-item {

    display: flex;

    align-items: center;

    gap: 8px;

    color: rgba(255,255,255,0.8);

    font-size: 15px;

}

.ap-meta-item img { opacity: 0.9; filter: brightness(0) invert(1); }

.ap-meta-item a { color: inherit; text-decoration: none; }

.ap-meta-item a:hover { color: #5EEAD4; }



/* Action Buttons */

.ap-actions {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;

}

.ap-btn {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 12px 24px;

    border-radius: 8px;

    font-size: 14px;

    font-weight: 600;

    text-decoration: none;

    transition: all 0.2s;

    cursor: pointer;

    border: none;

}

.ap-btn-primary {

    background: #14B8A6;

    color: white;

}

.ap-btn-primary:hover {

    background: #0D9488;

    transform: translateY(-2px);

}

.ap-btn-secondary {

    background: rgba(255,255,255,0.1);

    color: white;

    border: 1px solid rgba(255,255,255,0.2);

}

.ap-btn-secondary:hover {

    background: rgba(255,255,255,0.2);

}

.ap-btn-brokerage {

    background: linear-gradient(135deg, #F59E0B, #D97706);

    color: white;

}

.ap-btn-brokerage:hover {

    transform: translateY(-2px);

    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);

}

.ap-btn img { filter: brightness(0) invert(1); }



/* Stats Bar */

.ap-stats-bar {

    margin-top: -60px;

    padding: 0 24px;

    position: relative;

    z-index: 10;

}

.ap-stats-card {

    max-width: 1000px;

    margin: 0 auto;

    background: white;

    border-radius: 16px;

    box-shadow: 0 10px 40px rgba(0,0,0,0.15);

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    overflow: hidden;

}

.ap-stat {

    padding: 28px 24px;

    text-align: center;

    border-right: 1px solid #E5E7EB;

}

.ap-stat:last-child { border-right: none; }

.ap-stat-value {

    font-family: 'Instrument Sans', sans-serif;

    font-size: 32px;

    font-weight: 700;

    color: #0F172A;

    margin-bottom: 4px;

}

.ap-stat-label {

    font-size: 13px;

    color: #64748B;

    text-transform: uppercase;

    letter-spacing: 0.5px;

}



/* Trust Bar - NEW */

.ap-trust-bar {

    max-width: 1000px;

    margin: 24px auto 0;

    padding: 0 24px;

}

.ap-trust-bar-inner {

    background: linear-gradient(135deg, #F0FDF4, #DCFCE7);

    border: 1px solid #86EFAC;

    border-radius: 12px;

    padding: 16px 24px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 24px;

    flex-wrap: wrap;

}

.ap-trust-item {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 14px;

    font-weight: 500;

    color: #166534;

}

.ap-trust-item .ap-trust-check {

    color: #22C55E;

    font-weight: 700;

}

.ap-trust-item .ap-trust-separator {

    color: #86EFAC;

    margin: 0 8px;

}



/* Content Area */

.ap-content {

    max-width: 1200px;

    margin: 48px auto;

    padding: 0 24px;

}

.ap-section {

    margin-bottom: 48px;

}

.ap-section-title {

    font-family: 'Instrument Sans', sans-serif;

    font-size: 24px;

    font-weight: 700;

    color: #0F172A;

    margin-bottom: 24px;

    display: flex;

    align-items: center;

    gap: 12px;

}

.ap-section-title img { opacity: 0.6; }



/* Listings Grid */

.ap-listings-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));

    gap: 24px;

}

.ap-listing-card {

    background: white;

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 2px 8px rgba(0,0,0,0.08);

    transition: all 0.3s;

    text-decoration: none;

    color: inherit;

}

.ap-listing-card:hover {

    box-shadow: 0 12px 32px rgba(0,0,0,0.15);

    transform: translateY(-4px);

}

.ap-listing-img {

    overflow: hidden;

    height: 200px;

    background: linear-gradient(135deg, #E5E7EB, #D1D5DB);

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

}

.ap-listing-img img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.ap-listing-placeholder {

    position: absolute;

    top: 0; left: 0; right: 0; bottom: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 12px;

    color: #9CA3AF;

}

.ap-listing-placeholder svg,

.ap-listing-placeholder img {

    width: 48px !important;

    height: 48px !important;

}

.ap-listing-placeholder span {

    font-size: 13px;

    font-weight: 500;

    color: #14B8A6;

}

.ap-listing-badge {

    position: absolute;

    top: 12px;

    left: 12px;

    background: #14B8A6;

    color: white;

    padding: 4px 12px;

    border-radius: 4px;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

}

.ap-listing-type {

    position: absolute;

    bottom: 12px;

    left: 12px;

    background: rgba(0,0,0,0.7);

    color: white;

    padding: 4px 10px;

    border-radius: 4px;

    font-size: 11px;

    font-weight: 600;

    text-transform: uppercase;

}

.ap-listing-body { padding: 20px; }

.ap-listing-price {

    font-family: 'Instrument Sans', sans-serif;

    font-size: 24px;

    font-weight: 700;

    color: #14B8A6;

    margin-bottom: 8px;

}

.ap-listing-address {

    font-size: 15px;

    font-weight: 600;

    color: #0F172A;

    margin-bottom: 4px;

}

.ap-listing-location {

    font-size: 13px;

    color: #64748B;

    margin-bottom: 12px;

}

.ap-listing-details {

    display: flex;

    gap: 16px;

    font-size: 13px;

    color: #64748B;

}

.ap-listing-detail {

    display: flex;

    align-items: center;

    gap: 4px;

}



/* Brokerage Card */

.ap-brokerage-card {

    background: linear-gradient(135deg, #FFFBEB, #FEF3C7);

    border: 1px solid #FCD34D;

    border-radius: 16px;

    padding: 32px;

    display: flex;

    align-items: center;

    gap: 24px;

}

.ap-brokerage-logo {

    width: 80px;

    height: 80px;

    background: linear-gradient(135deg, #F59E0B, #D97706);

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 32px;

    font-weight: 700;

    color: white;

    flex-shrink: 0;

}

.ap-brokerage-info { flex: 1; }

.ap-brokerage-name {

    font-size: 20px;

    font-weight: 700;

    color: #92400E;

    margin-bottom: 4px;

}

.ap-brokerage-meta {

    font-size: 14px;

    color: #B45309;

}

.ap-brokerage-actions {

    display: flex;

    gap: 12px;

}

.ap-brokerage-phone {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #92400E;

    font-weight: 500;

    font-size: 14px;

}



/* License Verification Card */

.ap-license-card {

    background: #F0FDF4;

    border: 1px solid #86EFAC;

    border-radius: 16px;

    padding: 24px;

}

.ap-license-header {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 16px;

}

.ap-license-icon {

    width: 48px;

    height: 48px;

    background: #22C55E;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

}

.ap-license-icon img { filter: brightness(0) invert(1); }

.ap-license-title {

    font-size: 18px;

    font-weight: 700;

    color: #166534;

}

.ap-license-subtitle {

    font-size: 13px;

    color: #15803D;

}

.ap-license-details {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 16px;

}

.ap-license-item label {

    font-size: 11px;

    color: #15803D;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    display: block;

    margin-bottom: 4px;

}

.ap-license-item span {

    font-size: 15px;

    font-weight: 600;

    color: #166534;

}



/* Not Found */

.ap-not-found {

    text-align: center;

    padding: 80px 24px;

}

.ap-not-found h1 {

    font-size: 32px;

    margin-bottom: 16px;

}

.ap-not-found p {

    color: #64748B;

    margin-bottom: 24px;

}



/* Responsive */

@media (max-width: 768px) {

    .ap-profile-card {

        flex-direction: column;

        text-align: center;

    }

    .ap-photo {

        width: 140px;

        height: 140px;

        margin: 0 auto;

    }

    .ap-name { font-size: 28px; }

    .ap-meta { justify-content: center; }

    .ap-actions { justify-content: center; }

    .ap-stats-card { grid-template-columns: repeat(2, 1fr); }

    .ap-stat { border-bottom: 1px solid #E5E7EB; }

    .ap-stat:nth-child(2) { border-right: none; }

    .ap-brokerage-card {

        flex-direction: column;

        text-align: center;

    }

    .ap-trust-bar-inner {

        flex-direction: column;

        gap: 12px;

    }

}




/* About Section */

.ap-about-card {

    background: white;

    border-radius: 16px;

    padding: 32px;

    box-shadow: 0 2px 8px rgba(0,0,0,0.08);

}

.ap-about-card p {

    font-size: 16px;

    line-height: 1.7;

    color: #334155;

    margin: 0;

}

.ap-languages {

    margin-top: 20px;

    padding-top: 20px;

    border-top: 1px solid #E5E7EB;

    display: flex;

    align-items: center;

    gap: 8px;

    color: #64748B;

    font-size: 14px;

    font-weight: 500;

}



/* Specializations */

.ap-specs-grid {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}

.ap-spec-tag {

    background: linear-gradient(135deg, #E6FFFA, #B2F5EA);

    color: #0D9488;

    padding: 10px 20px;

    border-radius: 8px;

    font-size: 14px;

    font-weight: 600;

    border: 1px solid #99F6E4;

}



/* Associations */

.ap-assoc-list {

    background: white;

    border-radius: 16px;

    padding: 24px 32px;

    box-shadow: 0 2px 8px rgba(0,0,0,0.08);

    list-style: none;

    margin: 0;

}

.ap-assoc-list li {

    padding: 12px 0;

    border-bottom: 1px solid #F1F5F9;

    color: #334155;

    font-size: 15px;

    display: flex;

    align-items: center;

    gap: 12px;

}

.ap-assoc-list li:last-child {

    border-bottom: none;

}

.ap-assoc-list li::before {

    content: '✓';

    color: #22C55E;

    font-weight: 700;

}




/* Section title icons */

.ap-section-title img {

    opacity: 0.6;

}



/* Languages icon in about card */

.ap-languages img {

    opacity: 0.7;

}





/* Verified Badge - Top Right of Hero */

.ap-verified-corner {

    position: absolute;

    top: 0;

    right: 0;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: rgba(20, 184, 166, 0.2);

    border: 1px solid rgba(20, 184, 166, 0.4);

    padding: 8px 16px;

    border-radius: 100px;

    font-size: 14px;

    font-weight: 600;

    color: #5EEAD4;

}

.ap-verified-corner img {

    filter: brightness(0) invert(1);

    opacity: 0.9;

}

