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

@font-face {
    font-family: 'MS Sans Serif';
    src: url('https://unpkg.com/98.css@0.1.17/dist/ms_sans_serif.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MS Sans Serif';
    src: url('https://unpkg.com/98.css@0.1.17/dist/ms_sans_serif_bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

body {
    background-color: #008080; /* Classic Windows 95 teal background */
    color: #000000;
    font-family: 'MS Sans Serif', 'Segoe UI', Tahoma, sans-serif;
    font-size: 11px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
}

.container {
    width: 800px;
    margin: 50px auto;
    background-color: #C0C0C0;
    border: 2px solid #808080;
    box-shadow: 2px 2px 0px #808080;
}

.chat-header {
    background: linear-gradient(to bottom, #000080, #3d65a6);
    color: white;
    padding: 5px;
    font-size: 14px;
    font-weight: bold;
    border-bottom: 2px solid #808080;
    font-family: "MS Sans Serif", Geneva, sans-serif;
}

#status-bar {
    padding: 2px 5px;
    font-size: 12px;
}

.chat-container {
    background-color: #E0E0E0;
    padding: 10px;
    height: 500px;
    overflow: hidden;
}

#message-log {
    background-color: white;
    border: 1px solid #808080;
    height: 400px;
    overflow-y: auto;
    padding: 5px;
    margin-bottom: 10px;
}

.input-area {
    padding: 5px;
    background-color: #C0C0C0;
    border-top: 2px solid #808080;
    display: flex;
    align-items: center;
}

#message-input {
    flex-grow: 1;
    padding: 4px;
    border: 2px inset #ffffff;
    background-color: white;
    font-family: "MS Sans Serif", Geneva, sans-serif;
    font-size: 12px;
}

#send-button {
    margin-left: 5px;
    padding: 4px 12px;
    border: 2px outset buttonface;
    background-color: #C0C0C0;
    font-family: "MS Sans Serif", Geneva, sans-serif;
    font-size: 12px;
    cursor: pointer;
}

#send-button:disabled {
    background-color: #E0E0E0;
    color: #808080;
    cursor: not-allowed;
}

.privacy-notice {
    text-align: center;
    font-size: 10px;
    color: black;
    margin-top: 5px;
}

.message {
    font-family: "MS Sans Serif", Geneva, sans-serif;
    font-size: 12px;
    padding: 2px;
    margin-bottom: 2px;
    border-bottom: 1px dotted #808080;
}

.warning {
    color: red;
    font-weight: bold;
    text-align: center;
    margin: 5px 0;
}

#chat-container {
    width: 500px;
    background-color: #c0c0c0; /* Windows 95 gray */
    border-top: 1px solid #dfdfdf;
    border-left: 1px solid #dfdfdf;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
    box-shadow: 1px 1px 0 white inset, -1px -1px 0 #707070 inset;
    padding: 2px;
    margin: 10px 0;
}

/* Windows 95 title bar */
#chat-container:before {
    content: "aiwmlo";
    display: block;
    background: linear-gradient(90deg, #000080, #1084d0);
    color: white;
    font-weight: bold;
    padding: 2px 4px;
    text-align: left;
    margin-bottom: 2px;
}

#messages {
    height: 300px;
    overflow-y: auto;
    background-color: #ffffff;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf;
    box-shadow: inset -1px -1px 0px #ffffff, inset 1px 1px 0px #808080;
    padding: 5px;
    margin: 4px;
    font-family: 'MS Sans Serif', 'Segoe UI', Tahoma, sans-serif;
}

.message {
    padding: 2px;
    margin-bottom: 2px;
    border-bottom: 1px dotted #c0c0c0;
    word-wrap: break-word;
}

#message-form {
    display: flex;
    gap: 4px;
    padding: 4px;
}

input[type="text"] {
    flex-grow: 1;
    background-color: #ffffff;
    color: #000000;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf;
    box-shadow: inset 1px 1px 0px #808080;
    padding: 3px 5px;
    font-family: 'MS Sans Serif', 'Segoe UI', Tahoma, sans-serif;
    font-size: 11px;
}

button {
    background-color: #c0c0c0;
    color: #000000;
    border-top: 1px solid #dfdfdf;
    border-left: 1px solid #dfdfdf;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
    box-shadow: inset 1px 1px 0px #ffffff, inset -1px -1px 0px #808080;
    padding: 3px 10px;
    font-family: 'MS Sans Serif', 'Segoe UI', Tahoma, sans-serif;
    font-size: 11px;
    cursor: pointer;
    min-width: 75px;
}

button:active {
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf;
    box-shadow: inset 1px 1px 0px #808080;
}

#status {
    background-color: #c0c0c0;
    color: #000000;
    text-align: left;
    margin: 4px;
    padding: 2px 4px;
    font-size: 11px;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf;
    box-shadow: inset 1px 1px 0px #808080;
}

.blink {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Windows 95 scrollbar */
::-webkit-scrollbar {
    width: 16px;
}

::-webkit-scrollbar-track {
    background-color: #c0c0c0;
}

::-webkit-scrollbar-thumb {
    background-color: #c0c0c0;
    border-top: 1px solid #dfdfdf;
    border-left: 1px solid #dfdfdf;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
    box-shadow: inset 1px 1px 0px #ffffff, inset -1px -1px 0px #808080;
}

::-webkit-scrollbar-button {
    display: block;
    height: 16px;
    width: 16px;
    background-color: #c0c0c0;
    border-top: 1px solid #dfdfdf;
    border-left: 1px solid #dfdfdf;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
    box-shadow: inset 1px 1px 0px #ffffff, inset -1px -1px 0px #808080;
}

::-webkit-scrollbar-button:vertical:start:decrement {
    background-position: center center;
    background-repeat: no-repeat;
}

::-webkit-scrollbar-button:vertical:end:increment {
    background-position: center center;
    background-repeat: no-repeat;
}

.ascii-art {
    font-family: monospace;
    text-align: center;
    margin: 10px 0;
    color: #000;
    background-color: #c0c0c0;
    padding: 5px;
    border-top: 1px solid #dfdfdf;
    border-left: 1px solid #dfdfdf;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
    box-shadow: inset 1px 1px 0px #ffffff, inset -1px -1px 0px #808080;
} 