/* Network Planner - Specific Styles */

.subnet24-network-planner {
    background: #f8fbff;
    padding: 2rem 0;
}

/* Stats */
.s24-planner-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.s24-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(25, 118, 210, 0.12);
    min-width: 120px;
}

.s24-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1976d2;
    margin-bottom: 0.25rem;
}

.s24-stat-label {
    font-size: 0.875rem;
    color: #607d8b;
    text-align: center;
}

/* Actions */
.s24-planner-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    justify-content: center;
}

.s24-planner-actions .s24-btn svg {
    flex-shrink: 0;
}

/* Add subnet form */
.s24-add-subnet-form {
    margin-bottom: 2rem;
}

.s24-add-subnet-form h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    color: #1a2a3a;
}

/* Subnets container */
.s24-subnets-container {
    margin-top: 2rem;
}

.s24-subnets-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

/* Subnet card */
.s24-subnet-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 16px rgba(25, 118, 210, 0.12);
    transition: transform 0.2s, box-shadow 0.2s;
}

.s24-subnet-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 24px rgba(25, 118, 210, 0.18);
}

.s24-subnet-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e3f2fd;
}

.s24-subnet-title {
    flex: 1;
}

.s24-subnet-title h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: #1a2a3a;
}

.s24-subnet-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.s24-badge-ipv4 {
    background: #e3f2fd;
    color: #1976d2;
}

.s24-badge-ipv6 {
    background: #f3e5f5;
    color: #7b1fa2;
}

.s24-subnet-actions {
    display: flex;
    gap: 0.25rem;
}

.s24-subnet-body {
    margin-top: 1rem;
}

.s24-subnet-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.s24-info-item {
    display: flex;
    gap: 0.5rem;
}

.s24-info-label {
    font-weight: 600;
    color: #607d8b;
    min-width: 100px;
}

.s24-info-value {
    color: #37474f;
    word-break: break-word;
}

/* Modal */
.s24-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.s24-modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 4px 32px rgba(25, 118, 210, 0.24);
}

.s24-modal-content h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    color: #1a2a3a;
}

/* Responsive */
@media (max-width: 768px) {
    .s24-planner-stats {
        gap: 1rem;
    }
    
    .s24-stat {
        padding: 1rem 1.5rem;
        min-width: 100px;
    }
    
    .s24-planner-actions {
        flex-direction: column;
    }
    
    .s24-planner-actions .s24-btn {
        width: 100%;
    }
    
    .s24-subnets-list {
        grid-template-columns: 1fr;
    }
}
