/* Maintenance Tasks Styles */
.maintenance-tasks {
    margin-top: 20px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
}

.maintenance-form {
    background-color: #f9f9f9;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
    border: 1px solid #eee;
}

.maintenance-form h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.maintenance-form .form-group {
    margin-bottom: 15px;
}

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

.maintenance-form .form-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.maintenance-list {
    margin-top: 15px;
}

.maintenance-list .no-items {
    font-style: italic;
    color: #777;
    padding: 10px 0;
}

.maintenance-list ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.maintenance-list li {
    position: relative;
    padding: 8px 8px 8px 10px;
    border-bottom: 1px solid #eee;
    line-height: 1.4;
    padding-top: 4px;
    padding-bottom: 12px;
}

.maintenance-list li:hover {
    background-color: #f9f9f9;
}

.task-label {
    font-weight: bold;
    margin-left: 10px;
    color: #2c3e50;
}

.task-notes {
    display: inline-block;
    margin-top: 5px;
    color: #555;
    padding-left: 10px;
    border-left: 3px solid #ddd;
}

.maintenance-list .comment-date {
    color: #777;
    font-size: 0.9em;
    margin-left: 10px;
    display: inline;
}

.maintenance-list .comment-delete {
    float: left;
    margin-right: 10px;
}

.loading-indicator, .error-message {
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
}

.loading-indicator {
    background-color: #f8f9fa;
    color: #6c757d;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
}

/* Tags input styling for maintenance tasks */
.maintenance-form tags-input .tags {
    min-height: 34px;
    width: 100%;
}

.maintenance-form tags-input .tags .tag-item {
    background: #5bc0de;
    border: 1px solid #46b8da;
    color: white;
}

.maintenance-form tags-input .tags .tag-item.selected {
    background: #d9534f;
    border: 1px solid #d43f3a;
}
