#navigator-spo-app {
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.nsp-tabs {
    display: flex;
    border-bottom: 2px solid #ccc;
    margin-bottom: 20px;
}
.nsp-tab {
    padding: 10px 20px;
    background: #f1f1f1;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-right: 5px;
    border-radius: 5px 5px 0 0;
}
.nsp-tab.active {
    background: #0073aa;
    color: #fff;
}
.nsp-tab-pane {
    display: none;
}
.nsp-tab-pane.active {
    display: block;
}
.nsp-filters {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}
.nsp-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}
.nsp-filter, .nsp-sort {
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}
.nsp-filter-btn, .nsp-test-btn {
    padding: 5px 15px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.nsp-filter-btn:hover, .nsp-test-btn:hover {
    background: #005a87;
}
.nsp-sort-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nsp-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.nsp-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}
.nsp-card:hover {
    transform: translateY(-5px);
}
.nsp-card-image {
    height: 180px;
    overflow: hidden;
}
.nsp-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.nsp-card-body {
    padding: 15px;
}
.nsp-card-body h3 {
    margin: 0 0 10px;
    font-size: 18px;
}
.nsp-card-body p {
    margin: 0 0 15px;
    color: #555;
    font-size: 14px;
    line-height: 1.4;
}
.nsp-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nsp-places {
    font-weight: bold;
    color: #0073aa;
}
.nsp-detail-btn {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
}
.nsp-detail-btn:hover {
    background: #005a87;
}
.nsp-pagination {
    margin-top: 20px;
    text-align: center;
}
.nsp-pagination button {
    margin: 0 3px;
    padding: 5px 12px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
}
.nsp-pagination button.active {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}
/* Модальные окна */
#nsp-detail-modal, #nsp-test-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nsp-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
}
.nsp-modal-close, .nsp-test-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}