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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 800px;
}

.container h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 8px;
}

.container > p {
    font-size: 16px;
    color: #6b7280;
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.6;
}

.chat-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.response-display {
    width: 100%;
    background-color: #e5e5e5;
    border-radius: 8px;
    padding: 16px;
}

#prompt-text {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}

.response-display.hidden {
    display: none;
}

.response-display p {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.chat-form {
    display: flex;
    gap: 8px;
    width: 100%;
}

.chat-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}

.chat-input:focus {
    border-color: #3b82f6;
}

.chat-input:disabled {
    background-color: #f3f4f6;
    cursor: not-allowed;
}

.send-button {
    padding: 10px 20px;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.send-button:hover:not(:disabled) {
    background-color: #2563eb;
}

.send-button:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}
