body {
    background-color: #f8f9fa;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.tab-content {
    margin-bottom: 30px;
}

.badge-status {
    font-size: 0.85rem;
    padding: 5px 8px;
}

.badge-online {
    background-color: #198754;
}

.badge-offline {
    background-color: #dc3545;
}

.badge-standby {
    background-color: #ffc107;
    color: #000;
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
}

.device-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.device-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.actions-column {
    width: 150px;
}

.datetime-column {
    width: 180px;
}

table thead th {
    background-color: #f8f9fa;
}

.btn-icon-only {
    padding: 0.25rem 0.5rem;
}

#device-details-body .row {
    margin-bottom: 10px;
}

/* 设备详情模态框样式 */
#deviceDetailsModal .modal-body {
    padding: 1.5rem;
}

#deviceDetailsModal .table {
    margin-bottom: 0;
}

#deviceDetailsModal th {
    width: 35%;
    font-weight: 600;
}

#deviceDetailsModal td {
    word-break: break-word;
}

#deviceDetailsModal .col-md-4 {
    padding: 0 15px;
}

#deviceDetailsModal h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.5rem;
}

.text-success {
    color: #198754 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-warning {
    color: #ffc107 !important;
} 