* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 600px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}

.header {
    background: #E21833;
    color: white;
    padding: 25px;
    text-align: center;
}

.header h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.header p {
    opacity: 0.9;
    font-size: 14px;
}

.disclaimer {
    background: #FFD200;
    color: #333;
    padding: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}

.disclaimer a {
    color: #E21833;
    text-decoration: none;
}

.disclaimer a:hover {
    text-decoration: underline;
}

.quick-buttons {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.quick-buttons button {
    background: white;
    border: 2px solid #E21833;
    color: #E21833;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quick-buttons button:hover {
    background: #E21833;
    color: white;
    transform: translateY(-2px);
}

.chat-container {
    height: 400px;
    overflow-y: auto;
    padding: 20px;
    background: #fafafa;
}

.message {
    margin-bottom: 15px;
    display: flex;
}

.message-content {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    line-height: 1.4;
    font-size: 14px;
}

.user-message {
    justify-content: flex-end;
}

.user-message .message-content {
    background: #E21833;
    color: white;
    border-bottom-right-radius: 4px;
}

.bot-message .message-content {
    background: white;
    color: #333;
    border: 1px solid #e0e0e0;
    border-bottom-left-radius: 4px;
}

.input-area {
    padding: 20px;
    background: white;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
}

#userInput {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

#userInput:focus {
    outline: none;
    border-color: #E21833;
}

#sendBtn {
    background: #E21833;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#sendBtn:hover {
    background: #c01530;
    transform: scale(1.05);
}

#sendBtn:active {
    transform: scale(0.95);
}

.footer {
    padding: 15px;
    text-align: center;
    font-size: 12px;
    color: #666;
    background: #f8f9fa;
}

.footer a {
    color: #E21833;
    text-decoration: none;
}

/* Smooth scrollbar */
.chat-container::-webkit-scrollbar {
    width: 6px;
}

.chat-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.chat-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.chat-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Loading animation */
.typing {
    display: inline-block;
}

.typing::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

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

/* Mobile responsive */
@media (max-width: 480px) {
    .quick-buttons button {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .header h1 {
        font-size: 24px;
    }
    
    .chat-container {
        height: 350px;
    }
}