h2.form-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

p.form-description {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 20px;
    color: #666;
}

.user-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

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

.input-group {
    display: flex;
    flex-direction: column;
}

.field-errors {
    color: red;
    margin-top: 5px;
    font-size: 0.85rem;
}

/* Input field styling */
.user-form input[type="text"],
.user-form input[type="file"],
.user-form textarea,
.user-form select {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Radio Button Styling */
input[type="radio"] {
    margin-right: 10px;
}

.radio-inline {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.user-form .input-group input[type="radio"] {
    width: auto;
}

/* Override any bullet styles */
.input-group li {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Go Back Button */
.btn-back {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    margin-bottom: 15px;
    cursor: pointer;
}

.btn-back:hover {
    background-color: #555;
}

/* Properties section styling */
.user-form .properties-group {
    margin-bottom: 15px;
}

.user-form .properties-group input[type="checkbox"] {
    margin-right: 10px;
}

.user-form .checkbox-group {
    display: flex;
    flex-direction: column;
}

/* Submit button styling */
.submit-btn-wrapper {
    text-align: center;
}

.submit-btn {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #0056b3;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .user-form {
        padding: 15px;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .form-description {
        font-size: 0.9rem;
    }

    .submit-btn {
        width: 100%;
    }
}

/* Completed task */
.completed-task {
    text-decoration: line-through;
}

.delete-btn {
    background-color: #dc3545;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    margin-left: 10px;
}

.delete-btn:hover {
    background-color: #c82333;
}

.submit-btn-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 20px;
}

.toggle-header {
    display: flex;
    align-items: center;
    gap: 10px;
    /* Space between icon and text */
    cursor: pointer;
    padding: 10px 0;
}

.toggle-header h3 {
    margin: 0;
    /* Remove default margins */
    display: inline-block;
    /* Keep header inline */
}

.toggle-icon {
    font-size: 20px;
    /* Adjust icon size as needed */
}

.task-status-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.task-status-btn:focus {
    outline: none;
}

.task-status-btn i {
    font-size: 1.2em;
}

.hidden-log {
    display: none;
}

.show-more-cell {
    text-align: left;
    padding: 10px !important;
}

#showMoreBtn {
    width: 100%;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #000;
    /* Changed to black */
    font-size: 14px;
    text-align: left;
}

#showMoreBtn:hover {
    background-color: #f8f9fa;
}

.black-badge {
    background-color: #000000 !important;
    color: white !important;
}

.below-goal {
    background-color: #ff0000 !important;
    color: white !important;
    border: 0px solid rgb(0, 0, 0) !important;
}

.above-goal {
    background-color: green !important;
    color: white !important;
    border: 0px solid rgb(0, 0, 0) !important;
}

.badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: normal;
    color: black;
    border-radius: 12px;
    margin-left: 8px;
    border: 1px solid black;
    background-color: #ffffff;
}