/**
 * AI Legal Chatbot Styles for Mashael Alsulaiti Law Firm
 * Modern, professional, and accessible design with appointment booking
 */

/* Main Container */
.ai-chat-widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* RTL Support */
.ai-chat-widget-container[dir="rtl"] {
    right: auto;
    left: 20px;
}

/* Toggle Button - Fixed Position on Right */
.ai-chat-widget-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #800000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(128, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10001;
}

.ai-chat-widget-container[dir="rtl"] .ai-chat-widget-button {
    right: auto;
    left: 20px;
}

.ai-chat-widget-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(128, 0, 0, 0.4);
}

.ai-chat-widget-button .ai-chat-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Tooltip */
.ai-chat-widget-tooltip {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    transform: translateY(10px);
}

.ai-chat-widget-container[dir="rtl"] .ai-chat-widget-tooltip {
    right: auto;
    left: 0;
}

.ai-chat-widget-button:hover .ai-chat-widget-tooltip {
    opacity: 1;
    transform: translateY(0);
}

.ai-chat-widget-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 15px;
    border: 5px solid transparent;
    border-top-color: #333;
}

.ai-chat-widget-container[dir="rtl"] .ai-chat-widget-tooltip::after {
    right: auto;
    left: 15px;
}

/* Chat Window */
.ai-chat-widget-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 380px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 10000;
}

.ai-chat-widget-container[dir="rtl"] .ai-chat-widget-window {
    right: auto;
    left: 20px;
}

.ai-chat-widget-window.active {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

/* Header */
.ai-chat-widget-header {
    background: #800000;
    color: white;
    padding: 15px 20px;
    border-radius: 15px 15px 0 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.ai-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    margin-top: 2px;
    font-weight: 500;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-chat-widget-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.ai-chat-widget-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Chat Body */
.ai-chat-widget-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    scroll-behavior: smooth;
}

.ai-chat-widget-body::-webkit-scrollbar {
    width: 4px;
}

.ai-chat-widget-body::-webkit-scrollbar-track {
    background: transparent;
}

.ai-chat-widget-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

/* Messages */
.ai-chat-message {
    margin-bottom: 15px;
    animation: fadeInUp 0.4s ease;
    width: 100%;
}

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

.ai-chat-message-content {
    padding: 12px 16px;
    border-radius: 18px;
    word-wrap: break-word;
    line-height: 1.4;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

/* Fix link colors to be visible - Light Blue */
.ai-chat-message-content a {
    color: #17a2b8 !important; /* Light blue color */
    text-decoration: underline;
    font-weight: 500;
}

.ai-chat-message-content a:hover {
    color: #138496 !important; /* Darker blue on hover */
    text-decoration: none;
}

/* Bot Messages - Full Width with Light Grey Background */
.ai-chat-message-bot .ai-chat-message-content {
    background: #e9ecef;
    color: #333;
    width: 100%;
    max-width: 100%;
    border-bottom-left-radius: 4px;
    border: 1px solid #dee2e6;
}

.ai-chat-widget-container[dir="rtl"] .ai-chat-message-bot .ai-chat-message-content {
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 4px;
}

/* User Messages - Full Width with Light Grey Background */
.ai-chat-message-user .ai-chat-message-content {
    background: #f1f3f4;
    color: #333;
    width: 100%;
    max-width: 100%;
    border-bottom-right-radius: 4px;
    border: 1px solid #e1e3e4;
}

.ai-chat-widget-container[dir="rtl"] .ai-chat-message-user .ai-chat-message-content {
    border-bottom-right-radius: 18px;
    border-bottom-left-radius: 4px;
}

/* System Messages */
.ai-chat-message-system .ai-chat-message-content {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #e9ecef;
    margin: 0 auto;
    text-align: center;
    font-size: 12px;
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
}

/* Contact Methods Container */
.contact-methods-container {
    margin-top: 10px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.contact-methods-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 15px 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    min-width: 80px;
    flex: 1;
    background: #f8f9fa;
    border: 2px solid transparent;
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: white;
}

.contact-method::before {
    content: attr(data-tooltip);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.contact-method::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #333;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-method:hover::before,
.contact-method:hover::after {
    opacity: 1;
}

.contact-icon {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-label {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: #495057;
    transition: color 0.3s ease;
}

/* WhatsApp Contact */
.whatsapp-contact:hover {
    border-color: #25D366;
}

.whatsapp-contact:hover .whatsapp-icon {
    background: rgba(37, 211, 102, 0.1);
    transform: scale(1.1);
}

.whatsapp-contact:hover .contact-label {
    color: #25D366;
}

/* Phone Contact */
.phone-contact:hover {
    border-color: #007bff;
}

.phone-contact:hover .phone-icon {
    background: rgba(0, 123, 255, 0.1);
    transform: scale(1.1);
}

.phone-contact:hover .contact-label {
    color: #007bff;
}

/* Email Contact */
.email-contact:hover {
    border-color: #dc3545;
}

.email-contact:hover .email-icon {
    background: rgba(220, 53, 69, 0.1);
    transform: scale(1.1);
}

.email-contact:hover .contact-label {
    color: #dc3545;
}

/* Contact method active state */
.contact-method:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Appointment Slots Container */
.appointment-slots-container {
    margin-top: 10px;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    background: white;
}

.date-slot {
    border-bottom: 1px solid #f1f3f4;
    padding: 15px;
}

.date-slot:last-child {
    border-bottom: none;
}

.date-header {
    font-size: 14px;
    font-weight: 600;
    color: #800000;
    margin: 0 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #f1f3f4;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 8px;
}

.time-slot-btn {
    background: white;
    border: 2px solid #e9ecef;
    color: #495057;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.time-slot-btn:hover {
    border-color: #800000;
    color: #800000;
    background: #fff5f5;
    transform: translateY(-1px);
}

.time-slot-btn:active {
    transform: translateY(0);
    background: #800000;
    color: white;
}

/* Button Options */
.ai-chat-button-options {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ai-chat-button-option {
    background: white;
    border: 2px solid #800000;
    color: #800000;
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ai-chat-widget-container[dir="rtl"] .ai-chat-button-option {
    text-align: right;
}

.ai-chat-button-option:hover {
    background: #800000;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(128, 0, 0, 0.3);
}

.ai-chat-button-option:active {
    transform: translateY(0);
}

/* Typing Indicator */
.ai-typing-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    animation: fadeInUp 0.4s ease;
}

.typing-content {
    background: rgba(128, 0, 0, 0.1);
    border: 1px solid rgba(128, 0, 0, 0.2);
    padding: 10px 15px;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-chat-widget-container[dir="rtl"] .typing-content {
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 4px;
}

.typing-text {
    font-size: 12px;
    color: #800000;
    font-weight: 500;
}

.typing-dots {
    display: flex;
    gap: 3px;
}

.typing-dots span {
    width: 4px;
    height: 4px;
    background: #800000;
    border-radius: 50%;
    animation: typingDot 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingDot {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Footer */
.ai-chat-widget-footer {
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #e9ecef;
}

.input-container {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.ai-chat-widget-input {
    flex: 1;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    padding: 12px 18px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    background: #f8f9fa;
    min-width: 0;
}

.ai-chat-widget-input:focus {
    border-color: #800000;
    background: white;
    box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.1);
}

.ai-chat-widget-input::placeholder {
    color: #6c757d;
    font-style: italic;
}

/* Enhanced Send Button - Mobile-Optimized */
.ai-chat-widget-send {
    width: 100px;
    height: 48px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #800000 0%, #a00000 100%);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(128, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 100px;
    flex-shrink: 0;
}

.ai-chat-widget-send:hover {
    background: linear-gradient(135deg, #a00000 0%, #c00000 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 0, 0, 0.35);
}

.ai-chat-widget-send:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(128, 0, 0, 0.3);
}

/* Send button ripple effect */
.ai-chat-widget-send::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.ai-chat-widget-send:active::before {
    width: 120%;
    height: 120%;
}

/* Send button icon styling */
.ai-chat-widget-send svg {
    z-index: 1;
    position: relative;
    transition: transform 0.2s ease;
}

.ai-chat-widget-send:hover svg {
    transform: translateX(2px);
}

/* Send button disabled state */
.ai-chat-widget-send:disabled {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.ai-chat-widget-send:disabled:hover {
    background: #e9ecef;
    transform: none;
    box-shadow: none;
}

.powered-by {
    text-align: center;
    margin-top: 8px;
    font-size: 10px;
    color: #6c757d;
    font-weight: 500;
}

/* Map Container Styles */
.map-container {
    margin-top: 10px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.map-container:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.map-preview {
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #e9ecef;
}

.map-preview:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    transform: translateY(-1px);
}

.map-iframe-container {
    width: 100%;
    height: 250px;
    position: relative;
}

.map-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.map-placeholder {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    height: 210px;
    justify-content: center;
}

.map-icon {
    font-size: 24px;
    margin-bottom: 5px;
    animation: mapPulse 2s infinite;
}

@keyframes mapPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.map-text {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 5px;
}

.map-hint {
    font-size: 12px;
    color: #6c757d;
    font-style: italic;
}

.map-actions {
    display: flex;
    gap: 0;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.map-btn {
    flex: 1;
    background: white;
    border: none;
    color: #495057;
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-right: 1px solid #e9ecef;
}

.map-btn:last-child {
    border-right: none;
}

.map-btn:hover {
    background: #800000;
    color: white;
    transform: translateY(-1px);
}

.map-btn:active {
    transform: translateY(0);
    background: #a00000;
}

/* RTL support for map */
.ai-chat-widget-container[dir="rtl"] .map-placeholder {
    text-align: center;
}

.ai-chat-widget-container[dir="rtl"] .map-actions {
    flex-direction: row-reverse;
}

/* RTL support for contact methods */
.ai-chat-widget-container[dir="rtl"] .contact-methods-row {
    flex-direction: row-reverse;
}

/* Mobile Responsive - Enhanced for Better Fit */
@media (max-width: 480px) {
    .ai-chat-widget-container {
        bottom: 10px;
        right: 10px;
        left: 10px;
    }
    
    .ai-chat-widget-container[dir="rtl"] {
        left: 10px;
        right: 10px;
    }
    
    .ai-chat-widget-window {
        width: calc(100vw - 20px);
        height: 80vh;
        bottom: 80px;
        right: 10px;
        left: 10px;
    }
    
    .ai-chat-widget-container[dir="rtl"] .ai-chat-widget-window {
        left: 10px;
        right: 10px;
    }
    
    .ai-chat-widget-button {
        width: 50px;
        height: 50px;
        bottom: 10px;
        right: 10px;
    }
    
    .ai-chat-widget-container[dir="rtl"] .ai-chat-widget-button {
        right: auto;
        left: 10px;
    }
    
    /* Mobile Footer Optimization */
    .ai-chat-widget-footer {
        padding: 12px 15px;
    }
    
    .input-container {
        gap: 6px;
    }
    
    .ai-chat-widget-input {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .ai-chat-widget-send {
        width: 80px;
        height: 40px;
        min-width: 80px;
        font-size: 11px;
        border-radius: 20px;
    }
    
    .ai-chat-widget-send svg {
        width: 16px;
        height: 16px;
    }
    
    .appointment-slots-container {
        max-height: 200px;
    }
    
    .time-slots {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
        gap: 6px;
    }
    
    .time-slot-btn {
        padding: 6px 8px;
        font-size: 11px;
    }

    .map-iframe-container {
        height: 200px;
    }
    
    .map-placeholder {
        height: 160px;
        padding: 15px;
    }
    
    .map-text {
        font-size: 13px;
    }
    
    .map-hint {
        font-size: 11px;
    }
    
    .map-btn {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .map-actions {
        flex-direction: column;
    }
    
    .map-btn {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    .map-btn:last-child {
        border-bottom: none;
    }

    /* Mobile contact methods */
    .contact-methods-container {
        padding: 10px;
    }

    .contact-methods-row {
        gap: 10px;
    }

    .contact-method {
        padding: 12px 8px;
        min-width: 70px;
    }

    .contact-icon {
        width: 35px;
        height: 35px;
    }

    .contact-icon svg {
        width: 24px;
        height: 24px;
    }

    .contact-label {
        font-size: 11px;
    }

    .contact-method::before {
        font-size: 10px;
        padding: 4px 8px;
        top: -35px;
    }
}

/* Extra Small Devices - iPhone SE and similar */
@media (max-width: 375px) {
    .ai-chat-widget-send {
        width: 70px;
        min-width: 70px;
        font-size: 10px;
    }
    
    .input-container {
        gap: 4px;
    }
    
    .ai-chat-widget-input {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .ai-chat-widget-button .ai-chat-icon,
    .map-icon {
        animation: none;
    }
    
    .ai-chat-message {
        animation: none;
    }
    
    .ai-typing-indicator {
        animation: none;
    }
    
    .typing-dots span {
        animation: none;
        opacity: 1;
    }
    
    .ai-chat-widget-send {
        transition: none;
    }
    
    .ai-chat-widget-send::before {
        transition: none;
    }

    .contact-method {
        transition: none;
    }

    .contact-icon {
        transition: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .ai-chat-widget-window {
        border: 2px solid #000;
    }
    
    .ai-chat-button-option {
        border-width: 3px;
    }
    
    .ai-chat-widget-input {
        border-width: 3px;
    }
    
    .time-slot-btn {
        border-width: 3px;
    }
    
    .ai-chat-widget-send {
        border: 2px solid #000;
    }

    .map-container {
        border-width: 2px;
    }
    
    .map-btn {
        border-width: 2px;
    }

    .contact-methods-container {
        border-width: 2px;
    }

    .contact-method {
        border-width: 3px;
    }
    
    /* Enhanced link visibility in high contrast */
    .ai-chat-message-content a {
        color: #0066cc !important;
        font-weight: bold;
        text-decoration: underline;
    }
}

/* Focus Indicators */
.ai-chat-widget-button:focus,
.ai-chat-widget-close:focus,
.ai-chat-widget-send:focus,
.ai-chat-button-option:focus,
.time-slot-btn:focus,
.contact-method:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.ai-chat-widget-input:focus {
    outline: none;
}

/* Appointment Booking Specific Styles */
.appointment-slots-container::-webkit-scrollbar {
    width: 6px;
}

.appointment-slots-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.appointment-slots-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.appointment-slots-container::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Date slot hover effect */
.date-slot:hover {
    background: #f8f9fa;
}

/* Selected time slot effect */
.time-slot-btn.selected {
    background: #800000;
    color: white;
    border-color: #800000;
}

/* Loading state for appointment slots */
.appointment-slots-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #6c757d;
    font-size: 14px;
}

.appointment-slots-loading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-top-color: #800000;
    border-radius: 50%;
    margin-right: 10px;
    animation: spin 1s linear infinite;
}

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

/* Empty state for appointment slots */
.appointment-slots-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-size: 14px;
}

.appointment-slots-empty::before {
    content: '📅';
    display: block;
    font-size: 24px;
    margin-bottom: 10px;
}

/* Professional Loading Animation */
.professional-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid #800000;
    border-radius: 50%;
    animation: professionalSpin 1s linear infinite;
}

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

/* Success message for clipboard copy */
.map-copy-success {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    animation: showSuccess 2s ease;
}

@keyframes showSuccess {
    0%, 100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
    20%, 80% { opacity: 1; transform: translateX(-50%) translateY(0); }
}
