/* Lawyerix Directory Pro - Main Styles */

/* Ensure FontAwesome icons display properly */
i.fas, i.far, i.fab, i.fal, i.fad, .fas, .far, .fab, .fal, .fad {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "FontAwesome" !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    display: inline-block !important;
    font-weight: normal !important;
    line-height: 1 !important;
    vertical-align: -0.125em !important;
}

i.fas, .fas {
    font-weight: 900 !important;
}

i.far, .far {
    font-weight: 400 !important;
}

i.fab, .fab {
    font-weight: 400 !important;
}

/* Enhanced icon loading support */
[class*="fa-"]:before {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free", "FontAwesome" !important;
}

/* Force icon display */
.fa, .fas, .far, .fal, .fad, .fab {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

/* Specific icon unicode fallbacks */
.fa-phone:before, .fas.fa-phone:before { content: "\f095"; }
.fa-envelope:before, .fas.fa-envelope:before { content: "\f0e0"; }
.fa-globe:before, .fas.fa-globe:before { content: "\f0ac"; }
.fa-map-marker-alt:before, .fas.fa-map-marker-alt:before { content: "\f3c5"; }
.fa-crosshairs:before, .fas.fa-crosshairs:before { content: "\f05b"; }
.fa-directions:before, .fas.fa-directions:before { content: "\f5eb"; }
.fa-user:before, .fas.fa-user:before { content: "\f007"; }
.fa-gavel:before, .fas.fa-gavel:before { content: "\f0e3"; }
.fa-star:before, .far.fa-star:before { content: "\f005"; }

/* Alternative icon loading */
@font-face {
    font-family: 'FontAwesome';
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.lawyerix-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    line-height: 1.6 !important;
    color: #333 !important;
    background-color: #f8f9fa !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Ensure no extra space at the top */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Override any theme styles that might interfere */
body.lawyerix-page * {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

.lawyerix-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.lawyerix-header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin: 0 !important;
    padding: 0 !important;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header-left {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.site-title a {
    color: #2c3e50;
    text-decoration: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 1001;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

.mobile-menu-toggle:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 3px;
    background-color: #2c3e50;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    opacity: 1;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Desktop Navigation */
.lawyerix-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.lawyerix-nav a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.lawyerix-nav a:hover {
    color: #3498db;
}

/* Hero Section */
.lawyerix-hero {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Search Form */
.lawyerix-search-form {
    margin-top: 2rem;
}

.search-inputs {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.search-inputs input {
    flex: 1;
    min-width: 200px;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.search-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background: #c0392b;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Practice Areas Grid */
.practice-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.practice-area-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.practice-area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Area icon styling removed - icons no longer used */

.practice-area-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.count {
    background: #3498db;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.area-description {
    color: #666;
    font-size: 0.9rem;
}

/* Map Section Styling - Override any hiding rules */
.lawyerix-map-section {
    padding: 4rem 0 !important;
    background: #f8f9fa !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

.lawyerix-map-section h2 {
    text-align: center !important;
    margin-bottom: 2rem !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Map notice styling */
.map-notice {
    text-align: center;
    padding: 3rem 2rem;
    background: #ffffff;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
    max-width: 600px;
    margin: 0 auto;
}

.map-notice p {
    margin-bottom: 1rem;
    color: #6c757d;
    font-size: 1.1rem;
}

.map-notice a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.map-notice a:hover {
    text-decoration: underline;
}

/* Map container styling */
#lawyerix-map {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Lawyers Grid */
.lawyerix-lawyers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* Grid responsive breakpoints */
@media (max-width: 1200px) {
    .lawyerix-lawyers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .lawyerix-lawyers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.lawyer-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
}

.lawyer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Lawyer Photo Section */
.lawyer-photo {
    height: 280px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.lawyer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 3rem;
}

/* Card Content */
.lawyer-card-content {
    padding: 1.5rem;
}

.lawyer-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Rating Stars */
.lawyer-rating {
    margin-bottom: 0.75rem;
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
    color: #ddd;
    font-size: 1.1rem;
}

.rating-stars i {
    color: #e0e0e0;
}

/* Contact Information */
.lawyer-contact-info {
    margin-bottom: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

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

.contact-icon {
    width: 16px;
    flex-shrink: 0;
    margin-top: 0.1rem;
    font-size: 0.9rem;
    text-align: center;
}

.contact-link {
    color: #495057;
    text-decoration: none;
    word-break: break-word;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #007bff;
    text-decoration: none;
}

.contact-text {
    color: #495057;
    word-break: break-word;
}

.address-item .contact-text {
    line-height: 1.3;
}

/* Practice Areas Info */
.practice-areas-info {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.practice-icon {
    color: #6c757d;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.practice-label {
    font-weight: 600;
    color: #2c3e50;
}

.practice-areas-text {
    color: #007bff;
    font-weight: 500;
}

/* Distance Info */
.distance-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.distance-info i {
    color: #dc3545;
}

/* View Profile Button */
.lawyer-card-actions {
    margin-top: auto;
    padding-top: 0.5rem;
}

.view-profile-btn {
    display: block;
    width: 100%;
    background: #007bff;
    color: white;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.view-profile-btn:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

/* View Toggle Styles */
.view-toggle-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
}

.view-toggle {
    display: flex;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.25rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.view-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.view-toggle-btn:hover {
    color: #495057;
    background: #e9ecef;
}

.view-toggle-btn.active {
    background: #007bff;
    color: white;
    box-shadow: 0 2px 4px rgba(0,123,255,0.3);
}

/* View Transition */
.lawyerix-lawyers-grid.view-transition {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

/* List View Styles */
.lawyerix-lawyers-grid[data-current-view="list"] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lawyerix-lawyers-grid[data-current-view="list"] .lawyer-card {
    display: flex;
    flex-direction: row;
    max-width: none;
    height: auto;
    align-items: stretch;
}

.lawyerix-lawyers-grid[data-current-view="list"] .lawyer-photo {
    width: 200px;
    min-width: 200px;
    height: 250px;
    flex-shrink: 0;
}

.lawyerix-lawyers-grid[data-current-view="list"] .lawyer-card-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
}

.lawyerix-lawyers-grid[data-current-view="list"] .lawyer-info-left {
    flex: 1;
}

.lawyerix-lawyers-grid[data-current-view="list"] .lawyer-info-right {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    padding-top: 0;
}

.lawyerix-lawyers-grid[data-current-view="list"] .lawyer-name {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.lawyerix-lawyers-grid[data-current-view="list"] .lawyer-contact-info {
    margin-bottom: 1.5rem;
}

.lawyerix-lawyers-grid[data-current-view="list"] .contact-item {
    font-size: 0.9rem;
    margin-bottom: 0.875rem;
}

.lawyerix-lawyers-grid[data-current-view="list"] .contact-icon {
    font-size: 0.85rem;
    width: 16px;
}

.lawyerix-lawyers-grid[data-current-view="list"] .practice-areas-info {
    margin-bottom: 1.5rem;
}

.lawyerix-lawyers-grid[data-current-view="list"] .lawyer-card-actions {
    width: auto;
    margin-top: 0;
}

.lawyerix-lawyers-grid[data-current-view="list"] .view-profile-btn {
    width: auto;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    white-space: nowrap;
}

/* List View Responsive */
@media (max-width: 768px) {
    .lawyerix-lawyers-grid[data-current-view="list"] .lawyer-card {
        flex-direction: column;
    }
    
    .lawyerix-lawyers-grid[data-current-view="list"] .lawyer-photo {
        width: 100%;
        height: 280px;
    }
    
    .lawyerix-lawyers-grid[data-current-view="list"] .lawyer-card-content {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .lawyerix-lawyers-grid[data-current-view="list"] .lawyer-info-right {
        align-self: stretch;
    }
    
    .lawyerix-lawyers-grid[data-current-view="list"] .lawyer-card-actions {
        width: 100%;
    }
    
    .lawyerix-lawyers-grid[data-current-view="list"] .view-profile-btn {
        width: 100%;
    }
    
    .view-toggle-container {
        justify-content: center;
        margin-bottom: 1.5rem;
    }
}

/* Legacy support for existing elements */
.practice-areas, .locations, .contact-info {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.practice-areas strong, .locations strong, .contact-info strong {
    color: #2c3e50;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Featured Section */
.lawyerix-featured {
    background: white;
    padding: 4rem 0;
}

.lawyerix-featured h2,
.lawyerix-practice-areas h2,
.lawyerix-map-section h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.see-all-section {
    text-align: center;
    margin-top: 3rem;
}

/* Map Section */
/* This rule is overridden by the specific Map Section Styling above */

/* Force remove white containers from interactive map sections only */
.lawyerix-interactive-map-section,
.lawyerix-interactive-map-section *,
.lawyerix-interactive-map-container,
.lawyerix-interactive-map-container *,
.map-wrapper,
.map-wrapper *,
.us-map-container,
.us-map-container * {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.lawyerix-interactive-map-section .container {
    padding: 0 !important;
    margin: 0 auto !important;
    background: transparent !important;
}

.lawyerix-map-section .container {
    padding: 2rem !important;
    margin: 0 auto !important;
    background: transparent !important;
    max-width: 1200px !important;
}

/* This rule is overridden by the specific Map Section Styling above */

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Footer */
.lawyerix-footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: auto;
}

/* Mobile Menu Body Lock */
body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        order: 2;
    }
    
    .header-left {
        order: 1;
    }
    
    .lawyerix-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        order: 3;
        z-index: 999;
        animation: slideDown 0.3s ease-out;
    }
    
    .lawyerix-nav.active {
        display: flex;
    }
    
    .lawyerix-nav a {
        padding: 1rem 2rem;
        border-bottom: 1px solid #f0f0f0;
        display: block;
        text-align: left;
        transition: all 0.3s ease;
    }
    
    .lawyerix-nav a:last-child {
        border-bottom: none;
    }
    
    .lawyerix-nav a:hover,
    .lawyerix-nav a:focus {
        background-color: rgba(52, 152, 219, 0.05);
        color: #3498db;
        padding-left: 2.5rem;
        outline: none;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .header-content {
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    /* Adjust section headers for mobile */
    .lawyerix-featured h2,
    .lawyerix-practice-areas h2,
    .lawyerix-map-section h2 {
        font-size: 2.2rem;
    }
    
    /* Add extra top margin to Practice Areas header on mobile */
    .lawyerix-practice-areas h2 {
        margin-top: 2rem;
    }
    

    
    .search-inputs {
        flex-direction: column;
    }
    
    .search-inputs input {
        min-width: auto;
    }
    
    .practice-areas-grid {
        grid-template-columns: 1fr;
    }
    
    .lawyer-photo {
        height: 250px;
    }
    
    .lawyer-card-content {
        padding: 1rem;
    }
    
    .lawyer-name {
        font-size: 1.2rem;
    }
    
    .practice-areas-info {
        flex-direction: column;
        gap: 0.25rem;
        align-items: flex-start;
    }
    
    .view-profile-btn {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }
}

/* Tablet Styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .header-content {
        padding: 1rem 1.5rem;
    }
    
    .lawyerix-nav {
        gap: 1.5rem;
    }
}

/* Additional Styles for New Features */

/* Page-specific styles */
.lawyerix-add-listing-page .lawyerix-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}

.lawyerix-add-listing-page .lawyerix-header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.lawyerix-add-listing-page .lawyerix-hero {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.lawyerix-add-listing-page .lawyerix-add-listing {
    flex: 1;
    padding: 2rem 0;
}

.lawyerix-add-listing-page .lawyerix-footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: auto;
}

/* Active Filters */
.active-filters {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.active-filters h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-tag {
    background: #3498db;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remove-filter {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
}

.clear-all-filters {
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem 1rem;
}

.no-results h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Pagination */
.lawyerix-pagination {
    text-align: center;
    margin-top: 3rem;
}

.lawyerix-pagination .page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.lawyerix-pagination .page-numbers:hover,
.lawyerix-pagination .page-numbers.current {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* Form Styles */
.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

/* Ensure form elements are properly styled */
.lawyerix-add-listing-page .form-group input,
.lawyerix-add-listing-page .form-group textarea,
.lawyerix-add-listing-page .form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: #fff;
    color: #333;
}

.lawyerix-add-listing-page .form-group input:focus,
.lawyerix-add-listing-page .form-group textarea:focus,
.lawyerix-add-listing-page .form-group select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.lawyerix-add-listing-page .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.lawyerix-add-listing-page .btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    background: #3498db;
    color: white;
}

.lawyerix-add-listing-page .btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.form-section h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.field-error {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Checkbox Groups */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.checkbox-label:hover {
    background: #e9ecef;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.75rem;
    width: auto;
}

/* Logo Preview */
.logo-preview {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    text-align: center;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-preview img {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
}

/* ===== CLEAN LAWYER PROFILE PAGE STYLES ===== */

/* Main Profile Section */
.lawyer-profile-section {
    padding: 2rem 0;
    background: #ffffff;
}

.lawyer-name-header {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    border-bottom: none;
}

.profile-content-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Left Column */
.profile-left-column {
    background: #ffffff;
}

/* Lawyer Photo */
.lawyer-photo {
    margin-bottom: 1.5rem;
}

.lawyer-photo img {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.photo-placeholder {
    width: 200px;
    height: 250px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Practice Areas Section */
.practice-areas-section {
    margin-bottom: 1rem;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
}

.practice-icon {
    margin-right: 0.5rem;
}

.practice-label {
    font-weight: 600;
}

.practice-areas-list {
    color: #007bff;
}



/* Tab Navigation */
.profile-tabs-nav {
    display: flex;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 1.5rem;
}

.tab-link {
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #6c757d;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tab-link:hover {
    color: #007bff;
}

.tab-link.active {
    color: #007bff;
    border-bottom-color: #007bff;
    background: #f8f9fa;
}

/* Tab Content */
.tab-content-area {
    background: #ffffff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Bio */
.lawyer-bio {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Contact Info Section */
.contact-info-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.contact-icon {
    margin-right: 0.5rem;
    margin-top: 0.1rem;
}

.contact-label {
    color: #333;
    font-weight: 600;
    margin-right: 0.5rem;
}

.contact-link {
    color: #007bff;
    text-decoration: none;
}

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

.contact-text {
    color: #495057;
}

/* Map Tab */
.map-tab-content {
    color: #495057;
}

.map-container-tab {
    margin-top: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

#lawyer-map-tab {
    height: 300px;
    width: 100%;
}

/* Reviews Content */
.reviews-content {
    color: #6c757d;
}

/* Right Column */
.profile-right-column {
    background: #ffffff;
}

/* Map Location Section */
.map-location-section {
    margin-bottom: 2rem;
}

.map-location-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 1rem;
}

.main-map-container {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

#lawyer-main-map {
    height: 300px;
    width: 100%;
}

.get-directions-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.get-directions-btn:hover {
    background: #0056b3;
}

.map-placeholder {
    height: 300px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Info Sections */
.info-section {
    margin-bottom: 2rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.info-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}

.info-section p {
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.info-list {
    margin: 0;
    padding-left: 1.25rem;
    color: #495057;
    font-size: 0.85rem;
    line-height: 1.5;
}

.info-list li {
    margin-bottom: 0.5rem;
}

.info-list strong {
    color: #333;
}

/* Responsive Design */
@media (max-width: 992px) {
    .profile-content-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .profile-right-column {
        order: 1;
    }
}

@media (max-width: 768px) {
    .lawyer-name-header {
        font-size: 1.5rem;
    }
    
    .profile-tabs-nav {
        flex-direction: column;
    }
    
    .tab-link {
        text-align: left;
        border-bottom: 1px solid #dee2e6;
        border-right: none;
    }
    
    .tab-link.active {
        border-bottom: 1px solid #dee2e6;
        border-left: 3px solid #007bff;
    }
    
    .lawyer-photo img,
    .photo-placeholder {
        width: 100%;
        max-width: 200px;
    }
    
    .info-section {
        padding: 1rem;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Locations Grid */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.location-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.location-icon {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.location-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.location-description {
    color: #666;
    font-size: 0.9rem;
}

/* No Practice Areas/Locations */
.no-practice-areas,
.no-locations {
    text-align: center;
    padding: 3rem 1rem;
}

.no-practice-areas h3,
.no-locations h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .lawyerix-hero {
        padding: 2rem 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    /* Further adjust section headers for smaller mobile screens */
    .lawyerix-featured h2,
    .lawyerix-practice-areas h2,
    .lawyerix-map-section h2 {
        font-size: 1.8rem;
    }
    
    /* Add extra top margin to Practice Areas header on small mobile */
    .lawyerix-practice-areas h2 {
        margin-top: 2.5rem;
    }
    

    
    .lawyer-card {
        margin: 0 1rem;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-content {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
}

/* Enhanced Search Form Styles */
.search-inputs select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
    background-color: white;
}

/* States Dropdown Fallback Styles */
.states-dropdown-container {
    position: relative !important;
    text-align: center !important;
    margin: 0 auto 30px auto !important;
    max-width: 500px !important;
    width: 90% !important;
    z-index: 100 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.states-dropdown-toggle,
button.states-dropdown-toggle,
#statesDropdownToggle {
    background: #3498db !important;
    color: white !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    cursor: pointer !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 45px !important;
    text-decoration: none !important;
    outline: none !important;
}

.states-dropdown-menu,
#statesDropdownMenu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: white !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    z-index: 1000 !important;
    margin-top: 5px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    max-height: 400px !important;
    overflow-y: auto !important;
    border: 1px solid #e0e0e0 !important;
    display: block !important;
}

.states-dropdown-menu.show,
#statesDropdownMenu.show {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Location Input Group */
.location-input-group {
    position: relative;
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
}

.location-input-group input[name="location"] {
    width: 100%;
    padding-right: 50px; /* Make space for button */
}

.use-location-btn {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: #007bff !important;
    color: white !important;
    border: none !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    font-size: 18px !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3) !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    /* Force clickability */
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    outline: none !important;
}

/* Ensure icon displays properly */
.use-location-btn i {
    font-size: 16px !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Fallback text if FontAwesome fails */
.use-location-btn:empty:before {
    content: "📍" !important;
    font-size: 16px !important;
    display: block !important;
}

.use-location-btn:hover {
    background: #0056b3 !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4) !important;
}

.use-location-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.use-location-btn:disabled:hover {
    background: #6c757d;
    transform: translateY(-50%);
}

.use-location-btn i {
    font-size: 14px;
}

.search-info {
    margin-top: 1rem;
    text-align: center;
    opacity: 0.8;
}

.search-info small {
    font-size: 0.9rem;
}

/* Distance Display */
.distance {
    margin-top: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: #e8f4fd;
    color: #2980b9;
    border-radius: 15px;
    font-size: 0.9rem;
    display: inline-block;
    font-weight: 500;
}

.distance strong {
    color: #2c3e50;
}

/* Loading States */
.lawyerix-search-form.loading .search-btn {
    opacity: 0.7;
    cursor: not-allowed;
}

.lawyerix-lawyers-grid.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.lawyerix-lawyers-grid.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Google Maps Autocomplete Styles */
.pac-container {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: none;
    margin-top: 5px;
}

.pac-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.pac-item:hover {
    background-color: #f8f9fa;
}

.pac-item-selected {
    background-color: #e3f2fd;
}

/* Responsive Search Form */
@media (max-width: 768px) {
    .search-inputs {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .search-inputs input,
    .search-inputs select,
    .location-input-group {
        min-width: 100%;
        width: 100%;
    }
    
    .search-btn {
        width: 100%;
    }
    
    .use-location-btn {
        right: 12px;
        width: 40px;
        height: 40px;
    }
} 

/* Form section styling */
.form-section {
    margin-bottom: 30px;
    padding: 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-section h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1.4em; /* Increased from 1.2em */
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
}

.section-description {
    color: #7f8c8d;
    font-size: 1em; /* Increased from 0.85em */
    margin-bottom: 20px;
    font-style: italic;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1em; /* Increased from 0.9em */
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px; /* Increased from 14px */
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-text {
    display: block;
    margin-top: 5px;
    color: #7f8c8d;
    font-size: 0.9em; /* Increased from 0.8em */
}

/* Your Details section specific styling */
.form-section:first-of-type {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.form-section:first-of-type h3 {
    color: white;
    border-bottom-color: rgba(255,255,255,0.3);
}

.form-section:first-of-type .section-description {
    color: #000000; /* Changed to black for visibility */
    background: rgba(255,255,255,0.9); /* Added semi-transparent white background */
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 1.1em; /* Increased from 0.95em */
    font-weight: 500; /* Added font weight for better readability */
}

.form-section:first-of-type label {
    color: white;
}

.form-section:first-of-type .form-text {
    color: rgba(255,255,255,0.8);
}

/* Welcome message for logged-in users */
.form-section .section-description {
    background: #e8f5e8;
    padding: 10px 15px;
    border-radius: 5px;
    border-left: 4px solid #27ae60;
} 

/* Additional font size adjustments for add-listing page */
.lawyerix-add-listing {
    font-size: 16px; /* Increased from 14px - base font size */
}

.lawyerix-add-listing .hero-content h1 {
    font-size: 2.5em; /* Increased from 2.2em */
}

.lawyerix-add-listing .hero-content p {
    font-size: 1.1em; /* Increased from 1em */
}

.lawyerix-add-listing .btn {
    font-size: 16px; /* Increased from 14px */
    padding: 12px 24px;
}

.lawyerix-add-listing .practice-areas-grid {
    font-size: 15px; /* Increased from 13px */
}

.lawyerix-add-listing .practice-areas-grid label {
    font-size: 15px; /* Increased from 13px */
}

/* ===== REVIEWS SECTION STYLES ===== */

.reviews-content {
    padding: 1.5rem 0;
}

.reviews-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
}

.reviews-header h4 {
    margin: 0 0 1rem 0;
    color: #212529;
    font-size: 1.4rem;
    font-weight: 600;
}

.rating-summary .average-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-stars {
    color: #ffc107;
    font-size: 1.2rem;
    line-height: 1;
}

.rating-text {
    color: #6c757d;
    font-size: 0.95rem;
}

.reviews-list {
    margin-bottom: 3rem;
}

.review-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: #f8f9fa;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: 600;
    color: #212529;
}

.review-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.review-rating {
    color: #ffc107;
    margin-bottom: 0.5rem;
}

.review-text {
    color: #495057;
    line-height: 1.6;
    margin: 0;
}

/* Review Form Styles */
.review-form-section {
    border-top: 2px solid #e9ecef;
    padding-top: 2rem;
}

.review-form-section h4 {
    margin: 0 0 1.5rem 0;
    color: #212529;
    font-size: 1.3rem;
    font-weight: 600;
}

.user-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #0066cc;
}

.user-info p {
    margin: 0;
    color: #495057;
    font-size: 0.95rem;
}

.user-info a {
    color: #0066cc;
    text-decoration: none;
}

.user-info a:hover {
    text-decoration: underline;
}

.required {
    color: #dc3545;
}

.review-form {
    max-width: 600px;
}

.rating-input {
    margin-bottom: 1.5rem;
}

.stars-input {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.star {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
    user-select: none;
}

.star:hover,
.star.active {
    color: #ffc107;
}

.rating-label {
    color: #6c757d;
    font-size: 0.9rem;
    font-style: italic;
}

.review-text-input {
    margin-bottom: 1.5rem;
}

.review-text-input textarea {
    width: 100%;
    min-height: 120px;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    background: #fff;
}

.review-text-input textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

.submit-review-btn {
    background: #212529;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-review-btn:hover {
    background: #495057;
    transform: translateY(-1px);
}

.submit-review-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.review-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-weight: 500;
}

.review-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.review-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.login-required {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

.login-required p {
    margin-bottom: 1rem;
    color: #495057;
    font-size: 1.1rem;
}

.login-link,
.register-link {
    display: inline-block;
    background: #0066cc;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.login-link:hover,
.register-link:hover {
    background: #0052a3;
    color: white;
}

.register-link {
    background: #28a745;
}

.register-link:hover {
    background: #218838;
}

/* No reviews message */
.no-reviews {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    font-style: italic;
}

/* Guest Review Form Styles */
.guest-review-notice {
    margin-bottom: 1.5rem;
}

.email-notice {
    background: #d1ecf1;
    color: #0c5460;
    padding: 0.75rem 1rem;
    border: 1px solid #bee5eb;
    border-radius: 6px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-icon {
    font-size: 1rem;
}

.guest-review-form .review-text-input {
    margin-bottom: 1.5rem;
}

.guest-review-form .rating-input {
    margin-bottom: 1.5rem;
}

.guest-fields {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.guest-field input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    background: #f8f9fa;
    color: #495057;
}

.guest-field input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
    background: #fff;
}

.guest-field input::placeholder {
    color: #6c757d;
}

.save-info-checkbox {
    margin-bottom: 1.5rem;
}

.save-info-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.4;
}

.save-info-checkbox input[type="checkbox"] {
    margin-top: 0.2rem;
    accent-color: #0066cc;
}

/* Reviews responsive styles */
@media (max-width: 768px) {
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .stars-input {
        justify-content: center;
    }
    
    .star {
        font-size: 1.8rem;
    }
    
    .review-form {
        max-width: none;
    }
    
    .guest-fields {
        grid-template-columns: 1fr;
    }
}

/* ===== ADD LISTING MAP STYLES ===== */

.map-group {
    margin: 1.5rem 0;
}

.office-map-container {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
}

.office-map {
    height: 300px;
    width: 100%;
    position: relative;
    background: #e9ecef;
}

.map-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.map-placeholder-content {
    text-align: center;
    color: #6c757d;
    padding: 2rem;
}

.map-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.map-placeholder-content h4 {
    margin: 0 0 0.5rem 0;
    color: #495057;
    font-size: 1.2rem;
    font-weight: 600;
}

.map-placeholder-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.map-controls {
    padding: 1rem;
    background: #fff;
    border-top: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.geocode-btn {
    background: #0066cc;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.geocode-btn:hover:not(:disabled) {
    background: #0052a3;
    transform: translateY(-1px);
}

.geocode-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.geocode-btn:disabled:hover {
    background: #6c757d;
}

.map-status {
    font-size: 0.85rem;
    color: #6c757d;
    flex: 1;
    text-align: right;
}

.map-status.success {
    color: #28a745;
}

.map-status.error {
    color: #dc3545;
}

.map-status.loading {
    color: #ffc107;
}

/* Google Map container when loaded */
.office-map .gm-style {
    border-radius: 0;
}

/* Map responsive */
@media (max-width: 768px) {
    .office-map {
        height: 250px;
    }
    
    .map-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .map-status {
        text-align: center;
    }
    
    .geocode-btn {
        width: 100%;
    }
}

/* ===== BUSINESS HOURS FORM STYLES ===== */

.business-hours-grid {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin: 1rem 0;
    background: #fff;
}

.hours-header {
    display: grid;
    grid-template-columns: 1fr 100px 100px 80px;
    gap: 1rem;
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
}

.hours-row {
    display: grid;
    grid-template-columns: 1fr 100px 100px 80px;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f3f4;
    align-items: center;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row:nth-child(even) {
    background: #f8f9fa;
}

.day-label {
    font-weight: 500;
    color: #212529;
}

.hours-row input[type="time"] {
    padding: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.9rem;
    background: #fff;
}

.hours-row input[type="time"]:disabled {
    background: #e9ecef;
    color: #6c757d;
}

.hours-row input[type="time"]:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

.closed-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.closed-checkbox input[type="checkbox"] {
    margin: 0;
    accent-color: #dc3545;
}

.business-hours-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.copy-hours-btn,
.detect-timezone-btn {
    background: #0066cc;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-hours-btn:hover,
.detect-timezone-btn:hover {
    background: #0052a3;
    transform: translateY(-1px);
}

.detect-timezone-btn {
    background: #28a745;
}

.detect-timezone-btn:hover {
    background: #218838;
}

.copy-hours-btn:disabled,
.detect-timezone-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

#office_timezone {
    background: #f8f9fa;
    border: 1px solid #ced4da;
    padding: 0.75rem;
    border-radius: 6px;
    color: #495057;
    font-family: monospace;
    font-size: 0.9rem;
}

/* Business hours responsive styles */
@media (max-width: 768px) {
    .hours-header,
    .hours-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: left;
    }
    
    .hours-header {
        display: none; /* Hide header on mobile, use labels instead */
    }
    
    .hours-row {
        padding: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 6px;
        margin-bottom: 0.5rem;
        background: #fff !important;
    }
    
    .hours-row input[type="time"] {
        width: 120px;
        margin: 0.25rem 0;
    }
    
    .day-label {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        display: block;
    }
    
    .hours-row input[type="time"]:first-of-type::before {
        content: "Open: ";
        position: absolute;
        left: -50px;
        font-size: 0.8rem;
        color: #6c757d;
    }
    
    .business-hours-actions {
        flex-direction: column;
    }
    
    .copy-hours-btn,
    .detect-timezone-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== BUSINESS HOURS DISPLAY STYLES ===== */

.business-hours-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
}

.business-hours-section h4 {
    margin: 0 0 1.2rem 0;
    color: #212529;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.business-hours-section h4::before {
    content: "🕒";
    font-size: 1.1rem;
}

.current-status {
    background: #f8f9fa;
    padding: 0.8rem;
    border-radius: 6px;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-left: 3px solid #6c757d;
    font-weight: 500;
    font-size: 0.9rem;
}

.current-status.open {
    background: #d4edda;
    color: #155724;
    border-left-color: #28a745;
}

.current-status.closed {
    background: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

.current-status.loading {
    background: #fff3cd;
    color: #856404;
    border-left-color: #ffc107;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #6c757d;
    display: inline-block;
    animation: pulse 2s infinite;
}

.current-status.open .status-indicator {
    background: #28a745;
}

.current-status.closed .status-indicator {
    background: #dc3545;
}

.current-status.loading .status-indicator {
    background: #ffc107;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.hours-display {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid #f1f3f4;
    font-size: 0.85rem;
}

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

.hours-item:nth-child(even) {
    background: #f8f9fa;
}

.hours-item.today {
    background: #e3f2fd !important;
    font-weight: 600;
    border-left: 4px solid #2196f3;
}

.day-name {
    font-weight: 500;
    color: #212529;
    min-width: 70px;
    font-size: 0.85rem;
}

.hours-time {
    color: #495057;
    font-size: 0.8rem;
}

.closed-text {
    color: #dc3545;
    font-weight: 500;
}

.time-range {
    color: #28a745;
    font-family: monospace;
    font-size: 0.75rem;
}

.timezone-info {
    margin-top: 0.8rem;
    text-align: center;
    color: #6c757d;
    font-size: 0.75rem;
}

.office-timezone {
    margin-left: 0.5rem;
    font-style: italic;
}

/* Business hours responsive styles */
@media (max-width: 768px) {
    .business-hours-section {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .hours-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .day-name {
        min-width: auto;
        font-size: 0.9rem;
    }
    
    .hours-time {
        align-self: flex-end;
        font-size: 0.85rem;
    }
    
    .current-status {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* ===== ENHANCED MAP INFO WINDOW STYLES ===== */

/* Enhanced Google Maps Info Window */
.enhanced-map-info-window,
.gm-style-iw .enhanced-map-info-window,
.gm-style .enhanced-map-info-window {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    max-width: 350px !important;
    min-width: 300px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2) !important;
    border: 2px solid rgba(0, 123, 255, 0.1) !important;
    animation: infoWindowFadeIn 0.3s ease-out !important;
}

/* Override Google Maps default info window styles */
.gm-style-iw-d {
    overflow: visible !important;
}

.gm-style-iw {
    padding: 0 !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2) !important;
}

.gm-style-iw-t::after {
    display: none !important;
}

@keyframes infoWindowFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.enhanced-map-info-window .info-window-header,
.gm-style .info-window-header {
    display: flex !important;
    align-items: flex-start !important;
    padding: 20px !important;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    border-bottom: none !important;
    gap: 16px !important;
    position: relative !important;
    color: white !important;
    margin: 0 !important;
}

.info-window-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3, #28a745);
}

.info-window-photo {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: #f8f9fa;
    border: 4px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.info-window-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-window-title {
    flex: 1;
    min-width: 0;
}

.enhanced-map-info-window .info-window-title h4,
.gm-style .info-window-title h4 {
    margin: 0 0 6px 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: white !important;
    line-height: 1.3 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

.enhanced-map-info-window .info-window-title .practice-areas,
.gm-style .info-window-title .practice-areas {
    margin: 0 !important;
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    opacity: 0.95 !important;
}

/* Practice area icons styling */
.practice-area-item {
    display: inline-block !important;
    margin-right: 8px !important;
}

.practice-area-item:last-child {
    margin-right: 0 !important;
}

.practice-area-icon {
    margin-right: 6px !important;
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Practice area icon colors */
.fa-heartbeat { color: #e74c3c !important; }
.fa-user-md { color: #3498db !important; }
.fa-file-contract { color: #f39c12 !important; }
.fa-scroll { color: #f39c12 !important; }
.fa-passport { color: #27ae60 !important; }
.fa-flag-usa { color: #e74c3c !important; }
.fa-users { color: #e91e63 !important; }
.fa-heart-broken { color: #e74c3c !important; }
.fa-child { color: #ff9800 !important; }
.fa-shield-alt { color: #2196f3 !important; }
.fa-car-crash { color: #f44336 !important; }
.fa-ambulance { color: #f44336 !important; }
.fa-briefcase { color: #795548 !important; }
.fa-building { color: #607d8b !important; }
.fa-handshake { color: #4caf50 !important; }
.fa-user-tie { color: #673ab7 !important; }
.fa-hard-hat { color: #ff5722 !important; }
.fa-lightbulb { color: #ffeb3b !important; }
.fa-trademark { color: #9c27b0 !important; }
.fa-copyright { color: #9c27b0 !important; }
.fa-home { color: #4caf50 !important; }
.fa-calculator { color: #607d8b !important; }
.fa-receipt { color: #795548 !important; }
.fa-leaf { color: #4caf50 !important; }
.fa-chart-line { color: #2196f3 !important; }
.fa-balance-scale { color: #9e9e9e !important; }
.fa-balance-scale-right { color: #9e9e9e !important; }
.fa-id-card { color: #ff9800 !important; }
.fa-wheelchair { color: #2196f3 !important; }
.fa-user-clock { color: #607d8b !important; }
.fa-hand-holding-usd { color: #4caf50 !important; }

.enhanced-map-info-window .info-window-body,
.gm-style .info-window-body {
    padding: 20px !important;
    background: #ffffff !important;
    margin: 0 !important;
}

.enhanced-map-info-window .info-window-body p,
.gm-style .info-window-body p {
    margin: 0 0 12px 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    color: #444 !important;
    padding: 8px 0 !important;
}

.info-window-body p:last-child {
    margin-bottom: 0;
}

.enhanced-map-info-window .info-window-body p i,
.gm-style .info-window-body p i {
    width: 20px !important;
    color: #007bff !important;
    font-size: 14px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
}

/* Specific icon colors for different contact types */
.info-window-body .phone i {
    color: #28a745 !important;
}

.info-window-body .email i {
    color: #dc3545 !important;
}

.info-window-body .website i {
    color: #17a2b8 !important;
}

.info-window-body .address i {
    color: #6f42c1 !important;
}

.info-window-body .address {
    color: #495057;
}

.info-window-body .phone a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.info-window-body .phone a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.info-window-body .email a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.info-window-body .email a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.info-window-body .website a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.info-window-body .website a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.distance-info {
    background: linear-gradient(135deg, #e8f4fd 0%, #d1ecf1 100%);
    color: #0c5460;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #bee5eb;
}

.distance-info i {
    color: #17a2b8 !important;
    font-size: 12px !important;
}

.distance-info strong {
    color: #0c5460;
    font-weight: 600;
}

.enhanced-map-info-window .info-window-footer,
.gm-style .info-window-footer {
    padding: 16px 20px !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border-top: 1px solid #dee2e6 !important;
    display: flex !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
}

.enhanced-map-info-window .info-window-footer .view-profile-btn,
.gm-style .info-window-footer .view-profile-btn {
    flex: 1 !important;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    color: white !important;
    text-decoration: none !important;
    padding: 12px 16px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
    cursor: pointer !important;
    min-width: 100px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.info-window-footer .view-profile-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.enhanced-map-info-window .info-window-footer .directions-btn,
.gm-style .info-window-footer .directions-btn {
    flex: 1 !important;
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%) !important;
    color: white !important;
    border: 2px solid transparent !important;
    padding: 12px 16px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-width: 100px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.info-window-footer .directions-btn:hover {
    background: linear-gradient(135deg, #1e7e34 0%, #155724 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.info-window-footer .directions-btn i {
    font-size: 12px;
    margin-right: 0;
}

/* User Location Info Window */
.user-location-info {
    padding: 16px;
    text-align: center;
    background: #ffffff;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.user-location-info h4 {
    margin: 0 0 8px 0;
    color: #4285f4;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.user-location-info h4 i {
    color: #4285f4;
    font-size: 14px;
}

.user-location-info p {
    margin: 0;
    color: #5f6368;
    font-size: 14px;
    line-height: 1.4;
}

/* Override default Google Maps info window styles */
.gm-style .gm-style-iw-c {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid #e1e8ed;
    padding: 0;
    max-width: 350px !important;
}

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
    padding: 0 !important;
}

.gm-style .gm-style-iw-t::after {
    background: linear-gradient(45deg, transparent 50%, #ffffff 50%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* Enhanced map container */
#lawyerix-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e8ed;
}

/* Map loading state */
#lawyerix-map[data-loading="true"] {
    background: linear-gradient(45deg, #f8f9fa 25%, transparent 25%),
                linear-gradient(-45deg, #f8f9fa 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, #f8f9fa 75%),
                linear-gradient(-45deg, transparent 75%, #f8f9fa 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    animation: mapLoading 1s linear infinite;
}

@keyframes mapLoading {
    0% { background-position: 0 0, 0 10px, 10px -10px, -10px 0px; }
    100% { background-position: 20px 20px, 20px 30px, 30px 10px, 10px 20px; }
}

/* Responsive map info windows */
@media (max-width: 768px) {
    .enhanced-map-info-window {
        max-width: 280px;
    }
    
    .info-window-header {
        padding: 12px;
        gap: 10px;
    }
    
    .info-window-photo {
        width: 40px;
        height: 40px;
    }
    
    .info-window-title h4 {
        font-size: 15px;
    }
    
    .info-window-title .practice-areas {
        font-size: 12px;
    }
    
    .info-window-body {
        padding: 10px 12px;
    }
    
    .info-window-body p {
        font-size: 13px;
    }
    
    .info-window-footer {
        padding: 10px 12px 12px 12px;
        flex-direction: column;
        gap: 6px;
    }
    
    .info-window-footer .view-profile-btn,
    .info-window-footer .directions-btn {
        flex: none;
        width: 100%;
    }
    
    .distance-info {
        font-size: 12px;
        padding: 6px 10px;
    }
} 