/* Vasco AI Assistant - floating task-oriented panel. Functional styling only for
   Phase A; the full glassmorphism/"Travel OS" visual treatment is a later phase -
   see docs' AI Assistant plan. Uses the existing design-system.css tokens so it
   doesn't introduce a second, inconsistent visual language in the meantime. */

.vf-ai-fab {
    position: fixed;
    right: var(--vf-sp-5);
    bottom: var(--vf-sp-5);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--vf-accent);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(79, 70, 229, .35);
    z-index: 1040;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease;
}
.vf-ai-fab:hover {
    background: var(--vf-accent-hover);
    transform: translateY(-2px);
}

.vf-ai-panel {
    position: fixed;
    right: var(--vf-sp-5);
    bottom: calc(var(--vf-sp-5) + 64px);
    width: 340px;
    max-height: 70vh;
    overflow-y: auto;
    background: var(--vf-surface);
    border: 1px solid var(--vf-border);
    border-radius: var(--vf-radius-lg);
    box-shadow: 0 8px 28px rgba(21, 22, 26, .1);
    z-index: 1040;
    display: flex;
    flex-direction: column;
}

.vf-ai-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--vf-sp-3) var(--vf-sp-4);
    border-bottom: 1px solid var(--vf-border);
}
.vf-ai-panel-title {
    font-weight: 650;
    font-size: var(--vf-text-md);
    color: var(--vf-text);
}
.vf-ai-panel-close {
    border: none;
    background: none;
    font-size: 1.25rem;
    line-height: 1;
    color: var(--vf-text-muted);
    cursor: pointer;
}

.vf-ai-tasklist {
    display: flex;
    flex-direction: column;
    gap: var(--vf-sp-1);
    padding: var(--vf-sp-3);
}
.vf-ai-task {
    text-align: left;
    padding: var(--vf-sp-2) var(--vf-sp-3);
    border-radius: var(--vf-radius-sm);
    border: 1px solid transparent;
    background: transparent;
    color: var(--vf-text);
    font-size: var(--vf-text-sm);
    cursor: pointer;
    transition: background .1s ease, border-color .1s ease;
}
.vf-ai-task:hover:not(:disabled) {
    border-color: var(--vf-border);
    background: var(--vf-bg);
}
.vf-ai-task.active {
    border-color: var(--vf-accent);
    background: var(--vf-accent-subtle);
    color: var(--vf-accent);
    font-weight: 600;
}
.vf-ai-task:disabled {
    color: var(--vf-text-subtle);
    cursor: not-allowed;
}

.vf-ai-form, .vf-ai-result {
    padding: 0 var(--vf-sp-3) var(--vf-sp-3);
}
.vf-ai-day {
    border-bottom: 1px solid var(--vf-border);
    padding: var(--vf-sp-2) 0;
    font-size: var(--vf-text-sm);
}
.vf-ai-day:last-child { border-bottom: none; }

@media (max-width: 576px) {
    .vf-ai-panel {
        right: var(--vf-sp-3);
        left: var(--vf-sp-3);
        width: auto;
    }
    .vf-ai-fab { right: var(--vf-sp-3); bottom: var(--vf-sp-3); }
}
