/* Basic CSS styles for the Google Maps Scraper */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #000000;
    margin: 0;
    padding: 0;
}

.navbar {
    margin-bottom: 2rem;
}

.hero-section {
    background: #ffffff;
    color: #000000;
    padding: 4rem 0;
}

.builder-card {
    border: none;
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(0,0,0,.12);
    margin-bottom: 2rem;
}

.builder-header {
    background: #ffffff;
    color: #000000;
    padding: 22px 28px;
    border-radius: 18px 18px 0 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.builder-body {
    padding: 18px;
    background: #ffffff;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

/* Ensure builder dropdowns stay readable on all states */
.form-select,
.builder-body select {
    background-color: #fff;
    color: #000;
    border-radius: 8px;
}

.form-select option,
.builder-body select option {
    color: #000;
    background-color: #fff;
}

.form-select option:hover,
.builder-body select option:hover,
.form-select option:checked,
.builder-body select option:checked {
    background-color: #f0f0f0;
    color: #000;
}

.btn {
    border-radius: 8px;
    font-weight: 600;
}

.btn-primary {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}

.btn-danger {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}

.table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.table thead th {
    background-color: #ffffff;
    color: #000000;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.extension-banner {
    background: #ffffff;
    color: #000000;
    padding: 1rem;
    border-radius: 12px;
    margin: 1rem 0;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.08);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title {
    font-weight: 600;
}

.brand-subtitle {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(0, 0, 0, 0.6);
    font-weight: 600;
}

.loading-dots::after {
    content: '';
    animation: loading-dots 1.5s infinite;
}

@keyframes loading-dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Chat widget styles */
.ace-chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.ace-chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    color: #000000;
    border: 1px solid rgba(0,0,0,0.15);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    z-index: 9998;
}

.chat-bubble {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: #ffffff;
    color: #000000;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 9997;
    border: 1px solid rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .ace-chatbot {
        width: 90%;
        height: 70%;
        bottom: 0;
        right: 5%;
        left: 5%;
        border-radius: 12px 12px 0 0;
    }
}
