.nrs-section-wrapper {
    margin: 20px 0;
}

.nrs-publicly-poa-members,
.nrs-all-members {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    margin: 10px 0;
}

.nrs-publicly-poa-members {
    background: #f8f9fa;
    border-color: #dee2e6;
}

.nrs-all-members {
    background: #e9ecef;
    border-color: #ced4da;
}

/* JavaScript-rendered card styles */
.nrs-digimon-grid,
.nrs-members-grid,
.nrs-generic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.nrs-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nrs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.nrs-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.nrs-digimon-card .nrs-card-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nrs-digimon-card .nrs-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nrs-card-content {
    padding: 20px;
}

.nrs-card-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #2c3e50;
}

.nrs-card-id {
    color: #6c757d;
    font-size: 14px;
    margin: 5px 0;
}

.nrs-card-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: #007cba;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.nrs-card-link:hover {
    background: #005a87;
    color: white;
}

.nrs-pagination-info {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #6c757d;
}

.nrs-member-title {
    color: #495057;
    font-style: italic;
    margin: 5px 0;
}

.nrs-member-email,
.nrs-member-phone {
    color: #6c757d;
    font-size: 14px;
    margin: 3px 0;
}

.nrs-api-array {
    list-style-type: none;
    padding-left: 20px;
    margin: 10px 0;
}

.nrs-api-array li {
    margin: 5px 0;
    padding: 2px 0;
}

.nrs-api-array strong {
    color: #333;
}

.nrs-error {
    background: #ffebee;
    color: #c62828;
    padding: 10px;
    border: 1px solid #ffcdd2;
    border-radius: 4px;
    margin: 10px 0;
}

.nrs-cache-info {
    display: block;
    margin-top: 5px;
    font-style: italic;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .nrs-publicly-poa-members,
    .nrs-all-members {
        padding: 15px;
    }
    
    .nrs-api-array {
        padding-left: 15px;
    }
}