* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base textarea styles - prevent overflow */
textarea {
    max-height: 300px;
    font-family: inherit;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
    margin: 0;
    padding: 0;
    width: 100%;
    /* FIXED: Permitir ancho completo en móviles para evitar problemas de alineación */
    max-width: 100%;
}

/* En pantallas grandes, mantener ancho completo pero centrar contenido dentro */
@media (min-width: 768px) {
    body {
        max-width: 100%;
    }
}

@media (min-width: 1024px) {
    body {
        max-width: 100%;
    }
}

@media (min-width: 1440px) {
    body {
        max-width: 100%;
    }
}

/* Hero Section */
.hero {
    background: white;
    padding: 20px 16px;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 24px;
    font-weight: bold;
    color: #111827;
    margin-bottom: 16px;
}

/* Bible Verse Container */
.bible-verse-container {
    text-align: center;
    margin-bottom: 20px;
}

.bible-verse-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4ADE80;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(74, 222, 128, 0.1);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.bible-verse-link:hover {
    background: rgba(74, 222, 128, 0.2);
    border-color: #4ADE80;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.2);
}

.bible-icon {
    font-size: 16px;
}

.search-card {
    max-width: 640px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    padding: 20px 20px;
}

/* Map Styles */
#map {
    height: 250px;
    width: 100%;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    margin-bottom: 8px;
    position: relative;
    cursor: default;
    z-index: 1;
    background: #f3f4f6;
}

/* Permitir cursor apropiado para marcadores arrastrables */
#map .leaflet-marker-draggable {
    cursor: move !important;
}

#map .leaflet-marker-draggable:active {
    cursor: grabbing !important;
}

/* Ensure Leaflet map layers render correctly */
#map .leaflet-container {
    height: 100%;
    width: 100%;
    border-radius: 10px;
}

#map .leaflet-tile-container {
    pointer-events: auto;
}

/* Explicit z-index for Leaflet panes to ensure markers appear above radius circle */
#map .leaflet-radius-pane,
#map .leaflet-pane[style*="250"] {
    z-index: 250 !important;
}

#map .leaflet-overlay-pane {
    z-index: 400 !important;
}

#map .leaflet-marker-pane {
    z-index: 600 !important;
}

#map .leaflet-tooltip-pane {
    z-index: 650 !important;
}

#map .leaflet-popup-pane {
    z-index: 700 !important;
}

.map-error {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #ef4444;
    font-weight: 500;
    text-align: center;
    padding: 20px;
}

/* Long-press indicator */
.long-press-indicator {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.2);
    border: 3px solid #4ADE80;
    pointer-events: none;
    z-index: 1000;
    display: none;
    animation: pulse-ring 1.2s ease-out;
}

.long-press-indicator.active {
    display: block;
}

/* Spinner Animation for loading */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.3);
        opacity: 1;
    }
    50% {
        transform: scale(0.7);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Map interaction hint */
.map-hint {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(17, 24, 39, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    z-index: 1000;
    pointer-events: none;
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.map-hint.show {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Slider Styles */
.slider-container {
    margin-bottom: 16px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.slider-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.slider-value {
    font-size: 14px;
    font-weight: bold;
    background: #f3f4f6;
    padding: 4px 12px;
    border-radius: 999px;
}

.slider {
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #4ADE80 0%, #4ADE80 50%, #e5e7eb 50%, #e5e7eb 100%);
    border-radius: 8px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: background 0.1s ease;
}

/* WebKit (Chrome, Safari, Edge) */
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #4ADE80;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slider::-webkit-slider-thumb:hover {
    background: #22c55e;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.slider::-webkit-slider-thumb:active {
    background: #16a34a;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Firefox */
.slider::-moz-range-thumb {
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #4ADE80;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: background 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slider::-moz-range-thumb:hover {
    background: #22c55e;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.slider::-moz-range-thumb:active {
    background: #16a34a;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Firefox track styling */
.slider::-moz-range-track {
    height: 8px;
    background: transparent;
    border-radius: 8px;
}

.slider::-moz-range-progress {
    height: 8px;
    background: #4ADE80;
    border-radius: 8px 0 0 8px;
}

/* Location Button (Old - keep for backward compatibility) */
.location-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 12px 0;
    background: none;
    border: none;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s;
    margin-bottom: 16px;
}

.location-btn:hover {
    color: #4ADE80;
}

.location-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.location-btn svg {
    flex-shrink: 0;
}

/* Floating Location Button (inside map) */
.location-btn-floating {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    color: #4ADE80;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 100;
}

.location-btn-floating:hover {
    background: #4ADE80;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.3);
}

.location-btn-floating:active {
    transform: scale(0.95);
}

.location-btn-floating:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.location-btn-floating svg {
    flex-shrink: 0;
}

/* Fullscreen Toggle Button (inside map) */
.fullscreen-btn-floating {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    color: #4ADE80;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 100;
}

.fullscreen-btn-floating:hover {
    background: #4ADE80;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.3);
}

.fullscreen-btn-floating:active {
    transform: scale(0.95);
}

.fullscreen-btn-floating svg {
    flex-shrink: 0;
}


/* Map container expanded mode */
/* Expandir el contenedor cuando el mapa está en fullscreen */
.map-fullscreen {
    max-width: 1200px !important;
    transition: max-width 0.3s ease;
}

.map-fullscreen #map {
    height: 500px !important;
    width: 100% !important;
    transition: height 0.3s ease;
}
/* Search Header Container */
.search-header-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
    position: relative;
}

/* Hide the title when search bar is always visible */
.search-header-container .results-title {
    display: none;
}

.results-title {
    margin: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.results-title.hidden {
    opacity: 0;
    transform: translateX(-20px);
}

/* Search Bar - Always Visible */
.search-bar-expandable {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    opacity: 1;
    transition: all 0.2s ease;
    z-index: 10;
}

.search-bar-expandable:focus-within {
    border-color: #4ADE80;
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.2);
}

/* Legacy active class - keep for compatibility */
.search-bar-expandable.active {
    border-color: #4ADE80;
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.2);
}

.search-bar-input {
    flex: 1;
    padding: 10px 16px;
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
}

.search-bar-input::placeholder {
    color: #9ca3af;
}

.search-bar-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4ADE80 0%, #10b981 100%);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.search-bar-btn:hover {
    background: linear-gradient(135deg, #22c55e 0%, #059669 100%);
}

.search-bar-btn:active {
    transform: scale(0.95);
}

/* Search Icon Button (trigger) - Hidden since search bar is always visible */
.search-icon-btn {
    display: none;
}

.search-icon-btn.hidden {
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
}

.search-icon-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.4);
}

.search-icon-btn:active {
    transform: scale(0.95);
}

.search-icon-btn svg {
    flex-shrink: 0;
}

/* Search Suggestions Dropdown */
.search-suggestions {
    position: relative;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    margin-top: -8px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 5;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f3f4f6;
}

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

.suggestion-item:hover {
    background: #f9fafb;
}

.suggestion-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.suggestion-text {
    flex: 1;
}

.suggestion-name {
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
}

.suggestion-snippet {
    font-size: 12px;
    color: #9ca3af;
    font-style: italic;
    margin-top: 2px;
    margin-bottom: 4px;
    line-height: 1.4;
}

.suggestion-category {
    font-size: 13px;
    color: #6b7280;
}

.suggestion-count {
    font-size: 12px;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 12px;
}

/* Search Input */
.search-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 16px;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #4ADE80;
}

/* Buttons */
.btn-primary {
    width: 100%;
    padding: 14px;
    background: #4ADE80;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.btn-primary:hover {
    background: #22c55e;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.btn-primary:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.btn-secondary {
    width: 100%;
    padding: 14px;
    background: white;
    color: #374151;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: #9ca3af;
}

/* Tabs Section */
.tabs-section {
    background: #f3f4f6;
    padding: 12px 16px;
    position: relative;
}

.tabs-container {
    max-width: 1280px;
    margin: 0 auto;
}

.tabs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tabs {
    display: flex;
    gap: 8px;
}

.tab {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    background: #d1d5db;
    color: #374151;
}

.tab.active {
    background: #374151;
    color: white;
}

.tab:hover:not(.active) {
    background: #9ca3af;
}

.chequea-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #10b981;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

.chequea-btn:hover {
    color: #059669;
}

/* Results Section */
.results {
    margin-top: 24px;
}

.results h2 {
    font-size: 20px;
    font-weight: bold;
    color: #111827;
    margin-bottom: 8px;
}

.results p {
    color: #6b7280;
}

@media (min-width: 640px) {
    .hero h1 {
        font-size: 30px;
    }
}

/* Mobile adjustments */
@media (max-width: 767px) {
    #map {
        height: 200px;
    }

    .location-btn-floating {
        width: 40px;
        height: 40px;
        bottom: 10px;
        left: 10px;
    }

    .location-btn-floating svg {
        width: 18px;
        height: 18px;
    }

    .fullscreen-btn-floating {
        width: 40px;
        height: 40px;
        bottom: 10px;
        right: 10px;
    }

    .fullscreen-btn-floating svg {
        width: 18px;
        height: 18px;
    }
}
/* ===== Pulguero Post Menu (3 dots) ===== */
.pulguero-menu-container {
    position: relative;
}

.pulguero-menu-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #6b7280;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pulguero-menu-btn:hover {
    background: #f3f4f6;
    transform: scale(1.05);
}

.pulguero-menu-dropdown {
    display: none;
    position: absolute;
    top: 42px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    min-width: 200px;
    z-index: 1000;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.pulguero-menu-dropdown.show {
    display: block;
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulguero-menu-item {
    padding: 14px 18px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #374151;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-weight: 500;
}

.pulguero-menu-item:hover {
    background: #f9fafb;
}

.pulguero-menu-item.danger {
    color: #ef4444;
}

.pulguero-menu-item.danger:hover {
    background: #fee2e2;
}

.pulguero-menu-item span:first-child {
    font-size: 18px;
}

/* ========================================
   LAYOUT UTILITIES - Responsive Layouts
   ======================================== */

/* Clase para páginas con altura completa (dashboards, apps) */
body.full-height-page {
    min-height: 100vh;
}

/* Clase para páginas centradas verticalmente (auth, confirmaciones) */
body.centered-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Container para páginas de autenticación y formularios centrados */
.auth-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

/* Responsive: Tablets (768px+) */
@media (min-width: 768px) {
    .auth-container {
        max-width: 540px;
    }
}

/* Responsive: Desktop (1024px+) */
@media (min-width: 1024px) {
    .auth-container {
        max-width: 600px;
    }
}

/* Container principal que hereda el max-width del body */
.main-container {
    max-width: inherit;
    margin: 0 auto;
    background: white;
}

/* Variante con altura completa */
.main-container.full-height {
    min-height: 100vh;
}

/* ========================================
   PROVIDER MODAL FEED - Scrollable Stack
   ======================================== */

.provider-modal-feed {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    overflow: hidden;
}

.provider-modal-feed.show {
    display: block;
}

/* Close Button */
.provider-modal-close {
    position: fixed;
    top: calc(16px + env(safe-area-inset-top, 0px)); /* ✅ iOS: Respeta el notch */
    right: calc(16px + env(safe-area-inset-right, 0px));
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.2s;
}

.provider-modal-close:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

/* Scrollable Container */
.provider-modal-scroll {
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for Safari iOS */
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior: contain;
}

.provider-modal-scroll::-webkit-scrollbar {
    display: none;
}

/* Individual Provider Card in Modal */
.provider-modal-card {
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for Safari iOS */
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    background: white;
    position: relative;
}

/* Card Header (Provider Avatar + Name) */
.provider-modal-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.provider-modal-user-info {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.provider-modal-user-info:hover {
    opacity: 0.7;
}

.provider-modal-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4ADE80, #10b981);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 22px;
    flex-shrink: 0;
    overflow: hidden;
}

.provider-modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.provider-modal-user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.provider-modal-user-name {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.provider-modal-business-name {
    font-size: 14px;
    color: #10b981;
    font-weight: 500;
}

/* Rating Badge in Header */
.provider-modal-rating-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fef3c7;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.provider-modal-rating-badge .star {
    color: #f59e0b;
}

.provider-modal-rating-badge .rating-value {
    color: #92400e;
}

.provider-modal-rating-badge .rating-count {
    color: #b45309;
    font-weight: 400;
}

.provider-modal-no-rating {
    font-size: 13px;
    color: #9ca3af;
    font-style: italic;
}

/* Main Content Area */
.provider-modal-content {
    flex: 1;
    min-height: 0; /* Critical for flexbox to allow shrinking */
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Services Section */
.provider-modal-section {
    background: #f9fafb;
    border-radius: 12px;
    padding: 12px 14px;
    flex-shrink: 0;
}

.provider-modal-section-title {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.provider-modal-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.provider-modal-service-tag {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

/* Modalidad Section */
.provider-modal-modalidad {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.provider-modal-modalidad-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid #e5e7eb;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    color: #374151;
}

.provider-modal-modalidad-item .icon {
    font-size: 18px;
}

/* Description Section */
.provider-modal-description {
    font-size: 14px;
    line-height: 1.5;
    color: #4b5563;
}

/* Reviews Preview Section */
.provider-modal-reviews-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.provider-modal-review-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px;
}

.provider-modal-review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.provider-modal-review-author {
    font-weight: 600;
    font-size: 14px;
    color: #111827;
}

.provider-modal-review-stars {
    color: #f59e0b;
    font-size: 14px;
}

.provider-modal-review-text {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.provider-modal-no-reviews {
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
    padding: 20px;
}

/* Card Footer */
.provider-modal-card-footer {
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: white;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.provider-modal-message-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #4ADE80 0%, #10b981 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.provider-modal-message-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.provider-modal-message-btn:active {
    transform: translateY(0);
}

.provider-modal-message-btn svg {
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .provider-modal-card-header {
        padding: 14px 16px;
    }

    .provider-modal-avatar {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .provider-modal-user-name {
        font-size: 16px;
    }

    .provider-modal-content {
        padding: 16px;
    }

    .provider-modal-card-footer {
        padding: 14px 16px;
    }
}
