/* ParblAI Custom Styles */

/* Layout and Navigation */
.navbar-brand {
    font-weight: bold;
    color: #6f42c1 !important;
}

.hero-section {
    background: linear-gradient(135deg, #6f42c1, #5a2d91);
    color: white;
    padding: 100px 0;
}

/* Landing Page Styles */
.landing-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.landing-section-bg {
    background: #f8f9fa;
}

.landing-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.step-icon {
    width: 80px;
    height: 80px;
}

/* Chat Container */
.chat-container {
    height: 500px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    background-color: #f8f9fa;
}

/* Chat Messages */
.message {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 1rem;
    max-width: 70%;
}

.message.user {
    background-color: #6f42c1;
    color: white;
    margin-left: auto;
}

.message.assistant {
    background-color: white;
    border: 1px solid #dee2e6;
}

/* HTMX Indicators */
.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator {
    display: inline;
}

.htmx-request .normal-state {
    display: none;
}

/* Typing Indicator Animation */
.typing-indicator {
    display: inline-block;
}

.typing-indicator span {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #007bff;
    margin: 0 1px;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}
