/* public/css/cards.css */
.fno-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.fno-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    border-top: 4px solid transparent;
    transition: transform 0.2s;
    cursor: pointer;
}

.fno-card:hover {
    transform: translateY(-2px);
}

.fno-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.fno-card-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
}

.client-count {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.fno-card-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    text-align: center;
}

.stat-item .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-blue);
}

.stat-item .label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.card-section {
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
    margin-top: 1rem;
}

.card-section h3 {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-column h4 {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.stat-list {
    font-size: 0.75rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-primary);
}

.stat-value {
    font-weight: 500;
}

.subnet-entry {
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 4px;
}

.subnet-header {
    font-weight: 500;
    color: var(--text-primary);
}

.subnet-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 0.25rem 0;
}

.subnet-stats {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    gap: 1rem;
}

/* Client list table styles */
.client-list table {
    width: 100%;
    border-collapse: collapse;
}

.client-list th,
.client-list td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.client-list th {
    background-color: #f7fafc;
    font-weight: 600;
}

.client-list tr:hover {
    background-color: #f7fafc;
}