/* Polit AD Form Styles */

.political-ad-id-sc {
    font-weight: bold;
}

/* Form Container */
.rwmb-form.mbfs-form#formular {
    /*max-width: 600px;*/
    margin: 2rem 0;
    padding: 2rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Field Wrapper */
.rwmb-field {
    margin-bottom: 1.5rem;
}

/* Labels */
.rwmb-label label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

/* Text Inputs and Email */
.rwmb-text,
.rwmb-email {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.rwmb-text:focus,
.rwmb-email:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

/* Textarea */
.rwmb-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.rwmb-textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

/* File Upload */
.rwmb-file-wrapper .rwmb-input {
    padding: 0;
}

.rwmb-file-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px dashed #ddd;
    border-radius: 4px;
    background: #f9f9f9;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.rwmb-file-input:hover {
    border-color: #0073aa;
    background: #f0f8ff;
}

.rwmb-file-input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

/* Submit Button */
.rwmb-form-submit {
    margin-top: 2rem;
}

.rwmb-button {
    width: 100%;
    padding: 1rem;
    background: #0073aa;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.rwmb-button:hover {
    background: #005a87;
}

.rwmb-button:active {
    transform: translateY(1px);
}

.rwmb-button:disabled,
.rwmb-button.disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

.rwmb-button:disabled:hover,
.rwmb-button.disabled:hover {
    background: #ccc;
    transform: none;
}

.rwmb-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.3);
}

/* Success Message */
.rwmb-success {
    padding: 1rem;
    margin-bottom: 1.5rem;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    color: #155724;
}

/* Error Message */
.rwmb-error {
    padding: 1rem;
    margin-bottom: 1.5rem;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rwmb-form.mbfs-form#formular {
        padding: 1.5rem;
        margin: 1rem;
    }
}