/* Form Component Styles
 * Extracted from functions.php for better organization and maintainability
 */

.member-post-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input[type="text"],
.form-group textarea,
.form-group input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.file-upload-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.file-upload-row input[type="file"] {
    flex: 2;
}

.file-upload-row input[type="text"] {
    flex: 1;
}

.remove-file, #add-file {
    background: #f44336;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

#add-file {
    background: #4CAF50;
    margin-top: 10px;
}

.remove-file:hover, #add-file:hover {
    opacity: 0.8;
}

#submit-post {
    background: #0073aa;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

#submit-post:hover {
    background: #005a87;
}

#submit-post:disabled {
    background: #ccc;
}
