/* A1AI Admin Adjustments Styles */

.a1ai-adjustments-container {
    max-width: 1200px;
}

.a1ai-adjustments-description {
    background: #f9f9f9;
    padding: 15px;
    border-left: 4px solid #0073aa;
    margin-bottom: 20px;
}

.a1ai-chatbot-selector {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.a1ai-chatbot-selector label {
    font-weight: bold;
    margin-right: 10px;
}

.a1ai-chatbot-selector select {
    min-width: 300px;
}

.a1ai-add-adjustment {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 30px;
}

.a1ai-form-row {
    margin-bottom: 20px;
}

.a1ai-form-field label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.a1ai-form-field textarea {
    width: 100%;
    min-height: 80px;
}

.a1ai-form-field .description {
    color: #666;
    font-style: italic;
    margin-top: 5px;
}

.a1ai-existing-adjustments {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.a1ai-adjustment-item {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    margin-bottom: 15px;
    background: #fafafa;
}

.a1ai-adjustment-content {
    padding: 15px;
}

.a1ai-adjustment-user,
.a1ai-adjustment-ai {
    margin-bottom: 10px;
}

.a1ai-adjustment-user strong,
.a1ai-adjustment-ai strong {
    color: #0073aa;
}

.a1ai-adjustment-user p,
.a1ai-adjustment-ai p {
    margin: 5px 0;
    padding: 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.a1ai-adjustment-meta {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: #666;
    margin-top: 10px;
    flex-wrap: wrap;
}

.a1ai-chatbot {
    font-weight: bold;
    color: #0073aa;
}

.a1ai-adjustment-actions {
    padding: 10px 15px;
    background: #f5f5f5;
    border-top: 1px solid #e5e5e5;
    text-align: right;
}

.a1ai-delete-adjustment {
    color: #dc3232;
    border-color: #dc3232;
}

.a1ai-delete-adjustment:hover {
    background: #dc3232;
    color: #fff;
}

.a1ai-empty-state {
    text-align: center;
    padding: 40px;
    color: #666;
}

.a1ai-adjustment-actions {
    margin-top: 10px;
}

/* Modal styles */
.a1ai-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.a1ai-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.a1ai-modal-header {
    padding: 15px 20px;
    background: #f9f9f9;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.a1ai-modal-header h3 {
    margin: 0;
    color: #333;
}

.a1ai-modal-close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.a1ai-modal-close:hover,
.a1ai-modal-close:focus {
    color: #000;
}

#a1ai-edit-form {
    padding: 20px;
}

.a1ai-modal-cancel {
    margin-left: 10px;
}

/* Edit button styling */
.a1ai-edit-adjustment {
    margin-right: 5px;
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.a1ai-edit-adjustment:hover {
    background: #005a87;
    border-color: #005a87;
} 