/* Elegant & Respectful Styling for User Submitted Posts Form */
#user-submitted-posts {
    max-width: 650px;
    margin: 40px auto;
    padding: 35px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#user-submitted-posts form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#user-submitted-posts fieldset {
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#user-submitted-posts label {
    font-weight: 600;
    font-size: 15px;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#user-submitted-posts .usp-input,
#user-submitted-posts .usp-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dcdde1;
    border-radius: 8px;
    font-size: 16px;
    color: #2f3640;
    background-color: #f5f6fa;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

#user-submitted-posts .usp-input:focus,
#user-submitted-posts .usp-textarea:focus {
    border-color: #cda250; /* Respectful gold accent */
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(205, 162, 80, 0.15);
}

#user-submitted-posts .usp-images {
    background: #fafafc;
    padding: 20px;
    border-radius: 8px;
    border: 1px dashed #dcdde1;
}

#usp-upload-message {
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 12px;
}

#usp_add-another {
    display: inline-block;
    margin-top: 10px;
    color: #cda250;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s ease;
}

#usp_add-another:hover {
    color: #b08535;
    text-decoration: underline;
}

/* Captcha styling */
.usp-captcha {
    background: #fbf0db;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #f3e1bf;
}

/* Submit button styling */
#user-submitted-posts .usp-submit {
    background-color: #1a1a1a;
    color: #ffffff;
    border: none;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    margin-top: 10px;
}

#user-submitted-posts .usp-submit:hover {
    background-color: #cda250; /* Turns to brand gold on hover */
    box-shadow: 0 5px 15px rgba(205, 162, 80, 0.3);
}

/* Error messages */
#usp-error-message {
    background-color: #e74c3c;
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
}
