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

body {
    font-family: Tahoma, Arial, sans-serif;
    background-color: #FFFFFF;
    color: #000000;
    line-height: 1.4;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

/* Header */
.header {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    padding: 0 10px;
}

.jabberwacky-logo {
    height: 24px;
    position: absolute;
    left: 10px;
    top: 0;
}

.icogno-existor {
    height: 24px;
    position: absolute;
    right: 10px;
    top: 0;
}

/* Main content */
.main-content {
    margin-bottom: 40px;
}

.logo-container {
    margin-bottom: 30px;
}

.cleverbot-logo {
    height: 120px;
    max-width: 100%;
}

/* Navigation */
.navigation {
    margin-bottom: 30px;
}

.nav-link {
    color: #35ae72;
    text-decoration: none;
    font-size: 14px;
    margin: 0 8px;
}

.nav-link:hover {
    color: #35ae72;
}

.nav-link:visited {
    color: #35ae72;
}

/* Disclaimers */
.disclaimers {
    margin-bottom: 20px;
}

.disclaimer-text {
    font-size: 12px;
    margin-bottom: 20px;
    line-height: 1.3;
    white-space: nowrap;
    overflow-wrap: break-word;
}

.disclaimer-text:nth-child(1) {
    color: #c69853;
}

.disclaimer-text:nth-child(2) {
    color: #c43709;
}

.copyright-text {
    font-size: 12px;
    color: #9bc3f7;
    line-height: 1.3;
    margin-top: 20px;
}

/* Blinking cursor and thinking indicator */
.thinking-cursor {
    color: #3589d6;
    font-weight: bold;
    animation: blink 1s infinite;
    font-size: 12px;
    font-family: Tahoma, Arial, sans-serif;
}

.thinking-text {
    color: #bbbbbb;
    font-size: 12px;
    font-family: Tahoma, Arial, sans-serif;
    font-weight: normal;
    animation: blink 1s infinite;
    margin-left: 5px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Chat Interface */
.chat-container {
    width: 285px;
    max-width: 90%;
    margin: 0 auto 20px auto;
    height: 0;
    max-height: 300px;
    overflow-y: auto;
    background-color: #FFFFFF;
    transition: height 0.3s ease;
    /* Hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

/* Hide scrollbar for WebKit browsers */
.chat-container::-webkit-scrollbar {
    display: none;
}

.chat-messages {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.chat-message {
    font-size: 12px;
    font-family: Tahoma, Arial, sans-serif;
    line-height: 1.4;
    word-wrap: break-word;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.chat-message.user {
    color: #000000;
    text-align: left;
}

.chat-message.ai {
    color: #3589d6;
    font-weight: bold;
    text-align: left;
}

.chat-message.faded {
    opacity: 0.4;
}

/* Contact form styles */
.contact-form-container {
    margin-bottom: 40px;
}

.contact-title {
    color: #000000;
    font-weight: bold;
    font-size: 12px;
    font-family: Tahoma, Arial, sans-serif;
    margin-bottom: 10px;
    margin-top: -10px;
}

.contact-email {
    color: #3589d6;
    font-size: 12px;
    font-family: Tahoma, Arial, sans-serif;
    margin-bottom: 3px;
    text-align: center;
}

.contact-comments-label {
    color: #3589d6;
    font-size: 12px;
    font-family: Tahoma, Arial, sans-serif;
    margin-bottom: 3px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact-comments {
    height: 80px;
    resize: vertical;
    min-height: 80px;
    max-height: 200px;
}

.contact-input-wide {
    width: 450px;
    max-width: 90%;
}

.contact-send-container {
    margin-top: 25px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }
    
    .header {
        padding: 0 5px;
    }
    
    .jabberwacky-logo {
        left: 5px;
    }
    
    .icogno-existor {
        right: 5px;
    }
}