/* General Form Styling */
.add-work-form {
    max-width: 700px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.add-work-form h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #333;
}

.add-work-form label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #555;
}

.add-work-form input[type="text"],
.add-work-form input[type="number"],
.add-work-form textarea,
.add-work-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.add-work-form textarea {
    height: 100px;
    resize: vertical;
}

.add-work-form input[type="radio"],
.add-work-form input[type="checkbox"] {
    margin-right: 10px;
}

.add-work-form .note {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 10px;
}

/* Step Navigation Styling */
.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.step-navigation button {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.step-navigation .previous {
    background-color: #e0e0e0;
    color: #333;
}

.step-navigation .previous:hover {
    background-color: #ccc;
}

.step-navigation .next,
.step-navigation .submit-button {
    background-color: #007cba;
    color: #fff;
}

.step-navigation .next:hover,
.step-navigation .submit-button:hover {
    background-color: #005a87;
}

/* Rich Text Editor Styling */
#rich-text-editor {
    width: 100%;
    height: 200px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: Garamond, serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.rich-text-editor-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.rich-text-editor-controls button {
    padding: 5px 10px;
    border: 1px solid #ddd;
    background-color: #eee;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

.rich-text-editor-controls button:hover {
    background-color: #ddd;
}

/* Review Section Styling */
.review-section {
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.review-section h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.review-section ul {
    list-style: none;
    padding: 0;
}

.review-section ul li {
    margin-bottom: 5px;
    font-size: 14px;
    color: #555;
}

/* Error and Success Message Styling */
.error-message {
    color: #d9534f;
    font-weight: bold;
    margin-bottom: 15px;
}

.success-message {
    color: #5cb85c;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Dropdown Styling */
#group-selection,
#primary-genre,
#subgenre,
#work-type,
#target-audience {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
}

/* Checkbox and Radio Styling */
.add-work-form input[type="checkbox"],
.add-work-form input[type="radio"] {
    display: inline-block;
    margin-right: 8px;
}

.add-work-form input[type="checkbox"]:disabled,
.add-work-form input[type="radio"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Word Count */
#work-word-count {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* Critique Guidance Textarea */
#critique-guidance-text {
    width: 100%;
    height: 80px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 10px;
}

/* Points Balance Section */
.review-section p {
    font-size: 14px;
    color: #555;
}

.review-section p strong {
    color: #333;
}

/* Disabled Buttons */
button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    color: #666;
    border: none;
}
.add-work-form input[type="checkbox"], .add-work-form input[type="radio"]
{
    width: auto !important;
}
span.req {
    color: red;
}