.acs-metabox {
    padding: 10px;
}

.acs-date-time-row {
    display: flex;
    gap: 15px;
}

.acs-date-field,
.acs-time-field {
    flex: 1;
}

.acs-reply-author-email-row {
    display: flex;
    gap: 15px;
}

.acs-reply-author-field,
.acs-reply-email-field {
    flex: 1;
    width: 50%;
    box-sizing: border-box;
}

.acs-reply-author-field input,
.acs-reply-email-field input {
    width: 100%;
    box-sizing: border-box;
}

.acs-history {
    margin-top: 20px;
}

.acs-history-list {
    list-style: none;
    padding: 0;
}

.acs-history-item {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    background: #fff;
}

.acs-history-summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
    position: relative;
    justify-content: space-between;
    flex-wrap: wrap;
}

.acs-history-actions-buttons {
    margin-left: 10px;
    order: 2;
}

.acs-history-checkbox {
    margin-left: 5px;
}

.acs-history-author {
    font-weight: bold;
}

.acs-history-date {
    color: #555;
}

.acs-history-toggle {
    color: #0073aa;
    font-size: 13px;
    cursor: pointer;
}

.acs-history-toggle:hover {
    color: #005177;
}

.acs-history-details {
    margin-top: 10px;
    padding: 10px;
    background: #f9f9f9;
    border: 1px solid #eee;
    display: none;
}

.acs-history-actions {
    margin-bottom: 10px;
}

.acs-edit-btn {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    margin-right: 5px;
}

.acs-edit-btn:hover {
    background: #005177;
}

.acs-delete-btn {
    background: #d63638;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

.acs-delete-btn:hover {
    background: #c32d2f;
}

.button-danger {
    background: #d63638;
    border-color: #d63638;
    color: #fff;
}

.button-danger:hover {
    background: #c32d2f;
    border-color: #c32d2f;
}

.acs-accordion-item {
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

.acs-accordion-title {
    background: #f1f1f1;
    padding: 10px;
    margin: 0;
    cursor: pointer;
}

.acs-accordion-title:hover {
    background: #e1e1e1;
}

.acs-accordion-content {
    padding: 10px;
    display: none;
}

#acs-prompt-result {
    margin-top: 20px;
}

#acs-prompt-result textarea {
    width: 100%;
    height: 200px;
    resize: vertical;
}

.error {
    border: 1px solid red !important;
}
#acs-copy-prompt-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
}

#acs-copy-prompt-btn:hover {
    background-color: #45a049;
}

#acs-copy-prompt-message {
    font-size: 14px;
    margin-top: 5px;
}