/* Add at the top of the file */
h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 30px;
}

.chat-wrapper {
    width: 66%;
    min-width: 300px;
    margin: 0 auto;
    padding: 20px;
    margin-bottom: 60px;
}

.chat-container {
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border-radius: 5px;
    padding: 20px;
    width: 100%;
}

.input-container {
    background-color: #f5f5f5;
    border-radius: 5px;
    padding: 20px;
    width: 100%;
}

.message {
    margin-bottom: 10px;
}

.user-message {
    color: #561107;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.assistant-message {
    color: #200761d8;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.system-message {
    color: #200761d8;
    font-style: italic;
}

form {
    margin-top: 20px;
    text-align: center;
}

textarea[name="message"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    min-height: 40px;
    max-height: 300px;
    resize: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: inherit;
    font-weight: 400;
    line-height: 1.4;
    overflow: hidden;
}

.btn {
    padding: 10px 20px;
    margin-right: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.btn:last-child {
    margin-right: 0;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    text-align: center;
}

.small-spinner-container {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spinner-position {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    animation: spinner-rotate 1s infinite linear;
}

@keyframes spinner-rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
} 