/* Rock Autoral News - Styles */
/* Generated to fix missing CSS file referenced by plugin */

/* Base Styles */
.ra-news-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.ra-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.ra-form-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.ra-form-description {
    color: #666;
    font-size: 1rem;
}

.ra-form-section {
    background: #f9f9fb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ra-form-section:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ra-section-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.ra-form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.ra-form-group {
    flex: 1;
    min-width: 200px;
}

.ra-form-group--required {
    position: relative;
}

.ra-form-group--required::after {
    content: " *";
    color: #ef4444;
    position: absolute;
    top: 0;
    right: -5px;
}

.ra-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.ra-form-group input,
.ra-form-group textarea,
.ra-form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
    transition: border-color 0.2s;
}

.ra-form-group input:focus,
.ra-form-group textarea:focus,
.ra-form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.ra-form-hint {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 4px;
}

.ra-form-file-input {
    padding: 10px;
}

.ra-form-group--checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 15px;
}

.ra-form-group--checkbox input {
    width: auto;
    margin-top: 2px;
}

.ra-form-group--checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ra-form-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.ra-btn-ra-submit {
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.ra-btn-ra-submit:hover {
    background: #2563eb;
}

.ra-btn-ra-reset {
    background: #fff;
    color: #6b7280;
    border: 1px solid #d1d5db;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.ra-btn-ra-reset:hover {
    background: #f9fafb;
}

.ra-form-response {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

.ra-form-response.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.ra-form-response.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Responsive */
@media (max-width: 768px) {
    .ra-form-row {
        flex-direction: column;
    }

    .ra-form-section {
        padding: 15px;
    }
}

/* Accessibility */
.ra-form-group input:focus,
.ra-form-group textarea:focus,
.ra-form-group select:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}