/* Concierge Chat Styles */

.concierge-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #020617;
    overflow: hidden;
}

/* Header Override */
.concierge-header {
    flex-shrink: 0;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    z-index: 50;
}

.concierge-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding-top: 80px;
    /* Space for nav */
}

/* Chat Area */
.chat-window {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    scroll-behavior: smooth;
}

.chat-message {
    display: flex;
    gap: 1rem;
    max-width: 80%;
    animation: fadeIn 0.3s ease;
}

.chat-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-message.ai {
    align-self: flex-start;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-message.ai .avatar {
    background: linear-gradient(135deg, #6366f1, #a78bfa);
    color: white;
}

.chat-message.user .avatar {
    background: #334155;
    color: #cbd5e1;
}

.message-content {
    padding: 1rem 1.25rem;
    border-radius: 1.25rem;
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
}

.chat-message.ai .message-content {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-top-left-radius: 0.25rem;
    color: #e2e8f0;
}

.chat-message.user .message-content {
    background: #6366f1;
    color: white;
    border-bottom-right-radius: 0.25rem;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 1rem;
    width: fit-content;
    border-top-left-radius: 0.25rem;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: #94a3b8;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Input Area */
.input-area {
    padding: 2rem;
    padding-bottom: 3rem;
    background: linear-gradient(to top, #020617 80%, transparent);
}

.input-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 1.5rem;
    padding: 0.5rem;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
}

textarea {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem;
    color: white;
    font-size: 1rem;
    resize: none;
    max-height: 200px;
    outline: none;
}

textarea::placeholder {
    color: #64748b;
}

.send-btn {
    width: 44px;
    height: 44px;
    background: #6366f1;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0.25rem;
}

.send-btn:hover {
    background: #4f46e5;
    transform: scale(1.05);
}

.send-btn:disabled {
    background: #334155;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Welcome Screen */
.welcome-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.welcome-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #6366f1, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f1f5f9;
    margin-bottom: 1rem;
}

.welcome-subtitle {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.6;
}

.suggestion-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.suggestion-chip {
    padding: 0.5rem 1rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 2rem;
    color: #94a3b8;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.suggestion-chip:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    color: #e2e8f0;
}