.error {
    color: #dc3545;
    background: #f8d7da;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
    display: none;
}
form {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}
label {
    display: block;
    font-weight: 500;
    color: #495057;
    margin-bottom: 8px;
}
textarea {
    width: calc(100% - 28px);
    height: 120px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    resize: vertical;
}
.form-controls {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    align-items: center;
}
button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}
button[type="submit"] {
    background: #007acc;
    color: white;
}
button[type="button"] {
    background: #6c757d;
    color: white;
}
.settings {
    display: flex;
    gap: 20px;
    align-items: center;
}
.settings label {
    margin: 0 5px 0 0;
}
input[type="number"] {
    width: 80px;
    padding: 5px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #f8f9fa;
}
th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}
th {
    background: #e9ecef;
    font-weight: 500;
}
.conversation {
    margin: 20px 0;
}
.speech-bubble {
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
}
.prompt {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
}
.response {
    background: #f3e5f5;
    border-left: 4px solid #9c27b0;
}
details {
    margin: 20px 0;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
}
summary {
    cursor: pointer;
    font-weight: 500;
}
#cost {
    color: #6c757d;
    font-size: 14px;
    margin-left: 10px;
}
