/* Modern Device Locations Styling */



/* Header Styling */
.device-list-header {
    margin-bottom: 24px;
}

.device-list-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.device-list-title .glyphicon {
    font-size: 28px;
    color: #3498db;
}

.device-list-title h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
}

.error-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    animation: slideDown 0.3s ease-out;
}

.error-banner .glyphicon {
    font-size: 18px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search Card */


/* Page Layout */
.map-wrapper-1 {
    display: flex;
    height: calc(100vh - 60px);
    height: calc(100vh - var(--header-offset, 60px));
    margin-top: 60px;
    margin-top: var(--header-offset, 60px);
    position: relative;
    overflow: hidden;
}

.device-list-sidebar {
    width: 350px;
    height: 100%;
    overflow-y: auto;
    background: white;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
    flex-shrink: 0;
}

.device-list-modern {
    padding: 20px;
    min-height: 100%;
}

.map {
    flex-grow: 1;
    height: 100%;
    width: calc(100% - 350px);
}

/* Search Form */
.device-search-form {
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .map-wrapper-1 {
        flex-direction: column;
    }

    .device-list-sidebar {
        width: 100%;
        height: 40%;
        min-height: 300px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    }

    .map {
        width: 100%;
        height: 60%;
    }

    .device-list-modern {
        padding: 12px;
    }

    .pagination-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .results-count {
        text-align: center;
        order: 2;
        margin-top: 12px;
    }

    .modern-pagination {
        order: 1;
        display: flex;
        justify-content: center;
    }

    .device-list-title h3 {
        font-size: 24px;
    }

    .device-table-modern thead th,
    .checkbox-cell,
    .device-info-cell {
        padding: 12px 16px !important;
    }
}