/* Frontend Form Styles */
.abs-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.abs-form-group {
    margin-bottom: 20px;
}

.abs-form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.abs-form-group input[type="text"],
.abs-form-group input[type="email"],
.abs-form-group input[type="tel"],
.abs-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.abs-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.required {
    color: #d9534f;
}

.abs-word-count-wrapper {
    background: #fff;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
}

.abs-section {
    margin: 15px 0;
    padding: 15px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.abs-section-words {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.abs-submit-btn {
    background: #0073aa;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}

.abs-submit-btn:hover {
    background: #005a87;
}

#abs-response {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
}

#abs-response.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

#abs-response.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Admin Styles */
.abs-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.abs-status-pending {
    background: #f0ad4e;
    color: #fff;
}

.abs-status-approved {
    background: #5cb85c;
    color: #fff;
}

.abs-status-rejected {
    background: #d9534f;
    color: #fff;
}

.abs-status-revision_required {
    background: #f0ad4e;
    color: #fff;
}

.abs-submission-details {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 20px;
}

.abs-section-detail {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.abs-section-detail:last-child {
    border-bottom: none;
}

.abs-section-detail strong {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.abs-section-detail p {
    margin: 0;
    padding: 10px;
    background: #f9f9f9;
    border-left: 3px solid #0073aa;
}

.abs-admin-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #ddd;
    text-align: center;
}

.abs-admin-actions .button {
    margin: 0 5px;
}

.button-danger {
    background: #d9534f;
    color: #fff;
    border-color: #d9534f;
}

.button-danger:hover {
    background: #c9302c;
    border-color: #c9302c;
    color: #fff;
}

.button-warning {
    background: #f0ad4e;
    color: #fff;
    border-color: #f0ad4e;
}

.button-warning:hover {
    background: #ec971f;
    border-color: #ec971f;
    color: #fff;
}

.abs-actions {
    text-align: center;
    margin: 20px 0;
}

@media print {
    .abs-admin-actions,
    .abs-actions,
    .button,
    .wp-admin .wrap > h1,
    .wp-admin .wrap > p {
        display: none !important;
    }
    
    .abs-submission-details {
        border: none !important;
        padding: 0 !important;
    }
}