/* MDU Support Desk - Custom Styles */

/* Status badge colors */
.badge-status-open { background-color: #dc3545; }
.badge-status-pending { background-color: #ffc107; color: #000; }
.badge-status-closed { background-color: #28a745; }
.badge-priority-low { background-color: #17a2b8; }
.badge-priority-med { background-color: #ffc107; color: #000; }
.badge-priority-high { background-color: #fd7e14; }
.badge-priority-urgent { background-color: #dc3545; }

/* Device status */
.badge-device-installed { background-color: #28a745; }
.badge-device-spare { background-color: #17a2b8; }
.badge-device-decommissioned { background-color: #6c757d; }

/* Table improvements */
.table-responsive {
    border-radius: 0.25rem;
}

/* Card improvements */
.card-header {
    font-weight: 600;
}

/* Form improvements */
.form-group label {
    font-weight: 500;
}

/* Search box */
.navbar-search {
    min-width: 300px;
}

/* Loading spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Ticket thread styling */
.ticket-message {
    border-left: 3px solid #007bff;
    padding-left: 15px;
    margin-bottom: 20px;
}

.ticket-message.system {
    border-left-color: #6c757d;
}

.ticket-message.requester {
    border-left-color: #28a745;
}

/* Device assignment history */
.assignment-history-item {
    padding: 10px;
    border-bottom: 1px solid #dee2e6;
}

.assignment-history-item:last-child {
    border-bottom: none;
}

/* Public ticket form */
.public-ticket-form {
    max-width: 800px;
    margin: 0 auto;
}

/* Honeypot field */
.honeypot {
    position: absolute;
    left: -9999px;
    visibility: hidden;
}
