/* ===================================
   Buddy - Main Stylesheet
   Modern, Premium Design System
   =================================== */

/* CSS Variables / Design Tokens */
:root {
    /* Colors - Light Theme */
    --color-primary: #6366f1;
    --color-primary-hover: #4f46e5;
    --color-primary-light: #e0e7ff;
    --color-secondary: #10b981;
    --color-secondary-hover: #059669;

    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f8fafc;
    --color-bg-tertiary: #f1f5f9;

    --color-text-primary: #1e293b;
    --color-text-secondary: #3b434d;
    --color-text-muted: #94a3b8;

    --color-border: #e2e8f0;
    --color-border-light: #f1f5f9;

    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-info: #3b82f6;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;

    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 300;
    --z-toast: 400;
}

/* Dark Theme */
[data-theme="dark"] {
    --color-bg-primary: #0f172a;
    --color-bg-secondary: #1e293b;
    --color-bg-tertiary: #334155;

    --color-text-primary: #f1f5f9;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;

    --color-border: #334155;
    --color-border-light: #1e293b;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg-secondary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text-primary);
}

h1 {
    font-size: var(--font-size-4xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

h5 {
    font-size: var(--font-size-lg);
}

h6 {
    font-size: var(--font-size-base);
}

p {
    margin-bottom: var(--spacing-4);
    color: var(--color-text-secondary);
}

a {
    color: rgb(92, 127, 184) !important;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: rgb(72, 107, 164);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-5);
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: 500;
    line-height: 1;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
    color: white;
    box-shadow: var(--shadow-md), 0 0 0 0 rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg), 0 0 20px 0 rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: var(--color-bg-tertiary);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-border);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text-secondary);
}

.btn-ghost:hover {
    background: var(--color-bg-tertiary);
    color: var(--color-text-primary);
}

.btn-sm {
    padding: var(--spacing-2) var(--spacing-3);
    font-size: var(--font-size-xs);
}

.btn-lg {
    padding: var(--spacing-4) var(--spacing-8);
    font-size: var(--font-size-base);
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-full);
}

.btn-icon.btn-sm {
    width: 32px;
    height: 32px;
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-4);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-2);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text-primary);
}

.form-input {
    width: 100%;
    padding: var(--spacing-3) var(--spacing-4);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--color-text-primary);
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

.form-input::placeholder {
    color: var(--color-text-muted);
}

textarea.form-input {
    min-height: 120px;
    resize: vertical;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Cards */
.card {
    background: var(--color-bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    padding: var(--spacing-5) var(--spacing-6);
    border-bottom: 1px solid var(--color-border-light);
}

.card-body {
    padding: var(--spacing-6);
}

.card-footer {
    padding: var(--spacing-4) var(--spacing-6);
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border-light);
}

/* Stats Card */
.stats-card {
    background: var(--color-bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-6);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-normal);
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stats-card .stats-value {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-1);
}

.stats-card .stats-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.stats-card .stats-change {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-1);
    font-size: var(--font-size-xs);
    padding: var(--spacing-1) var(--spacing-2);
    border-radius: var(--radius-full);
    margin-top: var(--spacing-2);
}

.stats-change.positive {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
}

.stats-change.negative {
    background: rgba(239, 68, 68, 0.1);
    color: var(--color-error);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-1) var(--spacing-3);
    font-size: var(--font-size-xs);
    font-weight: 500;
    border-radius: var(--radius-full);
    background: var(--color-bg-tertiary);
    color: var(--color-text-secondary);
}

.badge-primary {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-warning);
}

.badge-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--color-error);
}

/* Tables */
.table-container {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: var(--spacing-4);
    text-align: left;
    border-bottom: 1px solid var(--color-border-light);
}

.table th {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--color-bg-secondary);
}

.table tbody tr:hover {
    background: var(--color-bg-secondary);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

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

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: var(--spacing-2);
}

.gap-4 {
    gap: var(--spacing-4);
}

.gap-6 {
    gap: var(--spacing-6);
}

.grid {
    display: grid;
}

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

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {

    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--color-text-muted);
}

.text-sm {
    font-size: var(--font-size-sm);
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.hidden {
    display: none !important;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-fadeIn {
    animation: fadeIn var(--transition-normal) ease-out;
}

.animate-slideUp {
    animation: slideUp var(--transition-normal) ease-out;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* HTMX Loading States */
.htmx-request .htmx-indicator {
    opacity: 1;
}

.htmx-indicator {
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.htmx-request.htmx-indicator {
    opacity: 1;
}

/* Loader */
.loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-muted);
}

/* Message text styling */
.message-text {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.message-text a {
    word-break: break-word;
    max-width: 100%;
}

/* Map card in chat */
.map-card {
    display: block;
    width: fit-content;
    max-width: 100%;
}

.map-card iframe {
    pointer-events: none;
    min-height: 120px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.map-card:hover iframe {
    pointer-events: auto;
}

/* Iframe skeleton loading */
.iframe-skeleton {
    min-height: 150px;
    border-radius: 12px;
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.iframe-skeleton::after {
    content: 'Loading map...';
    color: #9ca3af;
    font-size: 12px;
}

/* Image skeleton loading */
.img-skeleton {
    min-height: 120px;
    min-width: 100% !important;
    border-radius: 12px;
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-skeleton::after {
    content: 'Loading image...';
    color: #9ca3af;
    font-size: 12px;
}

/* Iframe wrapper for proper skeleton replacement */
.iframe-wrapper {
    position: relative;
    min-height: 180px;
    border-radius: 12px;
    overflow: hidden;
}

.iframe-wrapper .iframe-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.iframe-wrapper iframe {
    position: relative;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.iframe-wrapper iframe.loaded {
    opacity: 1;
}

/* Image card in chat */
.image-card {
    display: block;
    width: fit-content;
    max-width: 100%;
}

.image-card img {
    display: block;
    max-width: 100% !important;
    border-radius: 0.75rem;
}

/* Rich card container */
.rich-card {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0.5rem 0;
}

/* Social Media Icons - Instant Rendering */
.social-links {
    display: inline-flex;
    gap: 8px;
    flex-wrap: nowrap;
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
    color: white !important;
    font-size: 16px;
}

.social-link:hover {
    transform: scale(1.15);
    opacity: 0.9;
}

.social-link i {
    color: white !important;
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.facebook {
    background: #1877F2;
}

.social-link.youtube {
    background: #FF0000;
}

.social-link.twitter,
.social-link.x {
    background: #000000;
}

.social-link.practo {
    background: #14BEF0;
}

/* ===================================
   Responsive Button Fixes
   =================================== */

/* All buttons - ensure text stays on one line */
button,
.btn,
[class*="btn-"] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: fit-content;
    flex-shrink: 0;
}

/* Button groups - horizontal layout */
.button-group,
.btn-group,
.action-buttons,
.card-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.button-group::-webkit-scrollbar,
.btn-group::-webkit-scrollbar,
.action-buttons::-webkit-scrollbar {
    display: none;
}

/* Responsive button text - smaller on mobile */
@media (max-width: 480px) {

    button,
    .btn,
    [class*="btn-"] {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        gap: 0.25rem;
    }

    .btn-lg {
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
    }

    .btn i,
    button i {
        font-size: 0.75rem;
    }

    /* Hide button text on very small screens, show only icon */
    .btn-icon-only-mobile .btn-text {
        display: none;
    }
}

@media (max-width: 360px) {

    button,
    .btn,
    [class*="btn-"] {
        padding: 0.375rem 0.5rem;
        font-size: 0.6875rem;
    }
}

/* Chat action buttons - always inline */
.chat-actions,
.message-actions,
.booking-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.375rem;
    overflow-x: auto;
    padding-bottom: 2px;
}

.chat-actions button,
.message-actions button,
.booking-actions button {
    flex-shrink: 0;
    min-width: auto;
}

/* Suggestion chips - responsive */
.suggestion-chips,
.suggestions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.suggestion-chip,
.suggestion-btn {
    white-space: nowrap;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 1rem;
    flex-shrink: 0;
}

@media (max-width: 480px) {

    .suggestion-chip,
    .suggestion-btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.6875rem;
    }
}

/* ===================================
   Overflow Handling
   =================================== */

/* Prevent text overflow in containers */
.message-bubble,
.chat-message,
.card-content,
.modal-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* Long text truncation */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Container overflow */
.overflow-hidden {
    overflow: hidden;
}

.overflow-auto {
    overflow: auto;
}

.overflow-x-auto {
    overflow-x: auto;
    overflow-y: hidden;
}

.overflow-y-auto {
    overflow-x: hidden;
    overflow-y: auto;
}

/* Scrollable container without visible scrollbar */
.scroll-hidden {
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scroll-hidden::-webkit-scrollbar {
    display: none;
}

/* ===================================
   Form Input Responsive Fixes
   =================================== */

/* Input buttons inline */
.input-with-button {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.input-with-button input {
    flex: 1;
    min-width: 0;
}

.input-with-button button {
    flex-shrink: 0;
}

/* ===================================
   Card Button Fixes
   =================================== */

/* Card footer actions */
.card-footer {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    justify-content: flex-end;
    overflow-x: auto;
}

@media (max-width: 480px) {
    .card-footer {
        justify-content: stretch;
    }

    .card-footer button,
    .card-footer .btn {
        flex: 1;
        text-align: center;
    }
}

/* ===================================
   Modal Responsive Fixes
   =================================== */

@media (max-width: 480px) {
    .modal-footer {
        flex-direction: row;
        gap: 0.5rem;
    }

    .modal-footer button {
        flex: 1;
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
}

/* ===================================
   Booking Card Button Fixes
   =================================== */

.booking-card-actions,
.booking-buttons {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
}

.booking-card-actions button,
.booking-buttons button {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 480px) {

    .booking-card-actions button,
    .booking-buttons button {
        padding: 0.375rem 0.625rem;
        font-size: 0.6875rem;
    }
}

/* ===================================
   Admin Panel Button Fixes
   =================================== */

.admin-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    align-items: center;
}

@media (max-width: 768px) {
    .admin-actions {
        flex-wrap: wrap;
    }

    .admin-actions button {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
}

/* ===================================
   Global Touch Target Sizes
   =================================== */

/* Minimum touch target for mobile */
@media (max-width: 768px) {

    button,
    .btn,
    a.btn,
    [role="button"] {
        min-height: 36px;
        min-width: 36px;
    }
}

/* ===================================
   Prevent Layout Shifts
   =================================== */

/* Stable button widths */
.btn-stable {
    min-width: max-content;
}

/* Icon buttons with fixed size */
.btn-icon-fixed {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .btn-icon-fixed {
        width: 32px;
        height: 32px;
    }
}

/* ===================================
   Responsive Booking Buttons
   =================================== */

/* Booking choice buttons - responsive flex */
#booking-choice-buttons,
.booking-buttons-row,
.booking-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Stack buttons on small screens */
@media (max-width: 400px) {

    #booking-choice-buttons,
    .booking-buttons-row,
    .booking-actions {
        flex-direction: column;
    }

    #booking-choice-buttons>button,
    .booking-buttons-row>button,
    .booking-actions>button,
    .booking-choice-btn {
        width: 100%;
        flex: none;
    }
}

/* Booking card button styling */
.booking-choice-btn {
    min-height: 44px;
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.booking-choice-btn:active {
    transform: scale(0.98);
}

/* Hospital location buttons in booking cards */
.hospital-location-btn {
    min-height: 44px;
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: left;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

/* Clinic hours box */
.clinic-hours-box {
    background: linear-gradient(to right, #eff6ff, #f0f9ff);
    border: 1px solid #dbeafe;
    border-radius: 0.75rem;
    padding: 0.75rem;
}

/* Map card responsive */
@media (max-width: 360px) {
    .map-and-cta-container {
        padding: 0 12px 12px 12px !important;
    }

    .map-iframe-wrapper iframe {
        height: 150px !important;
    }
}

/* Rate limit overlay styles are now in chat/components/rate_limit_overlay.html */