:root {
    --aura-primary: #111827;
    --aura-accent: #6366f1;
    --aura-bg: #ffffff;
    --aura-text: #111827;
    --aura-muted: #6b7280;
}

.aura-assistant .aura-container {
    position: fixed;
    bottom: 80px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.aura-assistant .aura-container.is-right {
    right: 24px;
}

.aura-assistant .aura-container.is-left {
    left: 24px;
}

.aura-assistant .aura-trigger {
    background: transparent;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 10px 0;
    font-size: 22px;
    cursor: pointer;
    box-shadow: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.aura-assistant .aura-pulse {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #3b82f6;
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5);
    animation: auraPulse 3.2s ease-in-out infinite;
}

@keyframes auraPulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
        opacity: 1;
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
        opacity: 0.7;
    }
}

.aura-assistant .aura-notification {
    position: absolute;
    bottom: 68px;
    right: 0;
    color: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    background: #050505;
    z-index: 2;
}

.aura-assistant .aura-container.is-left .aura-notification {
    left: 0;
    right: auto;
}

.aura-assistant .aura-notification::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    background: linear-gradient(120deg, #3b82f6, #22d3ee, #a855f7);
    z-index: -1;
}

.aura-assistant .aura-notification.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.aura-assistant .aura-panel {
    width: 320px;
    height: 70vh;
    max-height: 760px;
    min-height: 520px;
    background: var(--aura-bg);
    border-radius: 16px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    margin-bottom: 12px;
    overflow: hidden;
}

.aura-assistant .aura-panel.is-open {
    display: flex;
}

.aura-assistant .aura-header {
    background: var(--aura-primary);
    color: #fff;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.aura-assistant .aura-scrape {
    margin-left: auto;
    margin-right: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    cursor: pointer;
}

.aura-assistant .aura-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.aura-assistant .aura-messages {
    padding: 16px;
    flex: 1;
    overflow-y: auto;
    background: #f9fafb;
}

.aura-assistant .aura-message {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
}

.aura-assistant .aura-message a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.aura-assistant .aura-message a:hover {
    text-decoration: underline;
}

.aura-assistant .aura-user {
    background: var(--aura-accent);
    color: #fff;
    align-self: flex-end;
}

.aura-assistant .aura-assistant {
    background: #fff;
    color: var(--aura-text);
    border: 1px solid #e5e7eb;
}

.aura-assistant .aura-consent-message {
    border: 1px solid #1f2937;
    background: #0f172a;
    color: #e2e8f0;
}

.aura-assistant .aura-consent-action {
    margin-top: 8px;
    background: var(--aura-accent);
    border: none;
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
}

.aura-assistant .aura-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px 16px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

.aura-assistant .aura-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 16px 0;
    background: #f9fafb;
}

.aura-assistant .aura-quick-reply {
    border: 1px solid #e5e7eb;
    background: #fff;
    color: var(--aura-text);
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    cursor: pointer;
}

.aura-assistant .aura-form textarea {
    resize: none;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 13px;
    font-family: inherit;
}

.aura-assistant .aura-form button {
    background: var(--aura-accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    cursor: pointer;
}

.aura-assistant .aura-consent {
    font-size: 12px;
    color: var(--aura-muted);
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.aura-assistant .aura-lead-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

.aura-assistant .aura-meeting-flow {
    display: block;
    padding: 4px 0 8px;
}

.aura-assistant .aura-meeting-title {
    font-size: 12px;
    color: #111827;
    font-weight: 600;
    margin-bottom: 6px;
}

.aura-assistant .aura-meeting-dates,
.aura-assistant .aura-meeting-times {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.aura-assistant .aura-meeting-date,
.aura-assistant .aura-meeting-time {
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
    font-size: 12px;
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer;
}

.aura-assistant .aura-meeting-date.is-selected,
.aura-assistant .aura-meeting-time.is-selected {
    border-color: var(--aura-accent);
    background: rgba(99, 102, 241, 0.12);
    color: #111827;
}

.aura-assistant .aura-meeting-time:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.aura-assistant .aura-lead-form input,
.aura-assistant .aura-lead-form textarea {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    font-size: 13px;
    font-family: inherit;
}

.aura-assistant .aura-field-error {
    color: #dc2626;
    font-size: 12px;
    margin-top: 2px;
}

.aura-assistant .aura-lead-form button {
    background: var(--aura-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
    cursor: pointer;
}

.aura-assistant .aura-lead-actions {
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.aura-assistant .aura-lead-back {
    background: #e5e7eb;
    color: #111827;
}

.aura-assistant .aura-lead-book {
    background: var(--aura-accent);
    color: #fff;
}
